Files
react-native/React/CoreModules
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
..
2019-10-16 10:06:34 -07:00
2021-03-11 16:12:17 -08:00
2019-10-16 10:06:34 -07:00
2020-08-18 12:29:45 -07:00
2020-08-18 12:29:45 -07:00
2020-08-18 12:29:45 -07:00
2020-08-18 12:29:45 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00