react-native-macos/Libraries/PushNotificationIOS
Héctor Ramos ae07c53d0b Resolve "fatal: not a git repository" error outside of git repositories
Summary:
CocoaPods will display a "fatal: not a git repository" when these podspecs are consumed within Facebook's internal Mercurial repository due to the reliance on `git` to obtain the current commit hash.

In these cases, the podspec is being consumed locally and the commit hash is unnecessary.

The error is removed by avoiding the use of `git` if the current working directory is not a git repository (or any of the parent directories).

Changelog:
[Internal] [iOS] - Remove CocoaPods error within Facebook's repository

Reviewed By: fkgozali

Differential Revision: D27750974

fbshipit-source-id: 99159611c580baf5526f116948c5ff60e1c02e5c
2021-04-15 13:30:31 -07:00
..
NativePushNotificationManagerIOS.js Add method to retrieve authorization status 2021-03-30 16:06:39 -07:00
PushNotificationIOS.js Codemod usages of NativeEventEmitter in react-native-github to only pass a native module on iOS 2021-04-12 06:27:20 -07:00
RCTPushNotificationManager.h remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
RCTPushNotificationManager.mm Add method to retrieve authorization status 2021-03-30 16:06:39 -07:00
RCTPushNotificationPlugins.h Make PushNotificationManager TurboModule-compatible 2019-11-08 14:14:46 -08:00
RCTPushNotificationPlugins.mm Make PushNotificationManager TurboModule-compatible 2019-11-08 14:14:46 -08:00
React-RCTPushNotification.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00