react-native-macos/Libraries/Settings
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
..
NativeSettingsManager.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
RCTSettingsManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSettingsManager.mm Round 2: Remove synthesize bridge = _bridge 2020-12-17 10:13:32 -08:00
RCTSettingsPlugins.h Run depslint on fb_plugin_apple_library rules 2019-10-26 13:47:15 -07:00
RCTSettingsPlugins.mm Make RCTSettingsManager TurboModule-compatible 2019-10-01 11:15:08 -07:00
React-RCTSettings.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
Settings.android.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Settings.ios.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00