mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1882186
- Disambiguate that we are checking out a branch, not a file. r=firefox-build-system-reviewers,ahochheiden
If for some reason the branch doesn't exist, git will complain about a file with that name not being found. (see e.g. bug 1880502 for an example of how that may happen) Differential Revision: https://phabricator.services.mozilla.com/D202762
This commit is contained in:
parent
6c8e9a5608
commit
1692f7d305
@ -228,7 +228,7 @@ def git_clone_firefox(git: Path, dest: Path, watchman: Path, head_repo, head_rev
|
||||
)
|
||||
|
||||
subprocess.check_call(
|
||||
[str(git), "checkout", "FETCH_HEAD" if head_rev else "bookmarks/central"],
|
||||
[str(git), "checkout", "FETCH_HEAD" if head_rev else "bookmarks/central", "--"],
|
||||
cwd=str(dest),
|
||||
env=env,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user