react-native-macos/Libraries/LinkingIOS
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
..
RCTLinkingManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTLinkingManager.mm Split NativeLinking into NativeIntentManager and NativeLinkingManager 2020-10-15 08:49:28 -07:00
RCTLinkingPlugins.h Make RCTLinkingManager TurboModule-compatible 2019-11-08 14:14:45 -08:00
RCTLinkingPlugins.mm Make RCTLinkingManager TurboModule-compatible 2019-11-08 14:14:45 -08:00
React-RCTLinking.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00