diff options
author | Bertrand SIMONNET <bsimonnet@google.com> | 2014-11-25 16:19:29 -0800 |
---|---|---|
committer | Bertrand SIMONNET <bsimonnet@google.com> | 2015-01-21 14:14:23 -0800 |
commit | 3000cdad2237abe1f956f8109e385891e1a96d17 (patch) | |
tree | 370e613827df97302ac94c833385f674f56e8a2e /subcmds/init.py | |
parent | 3eb87cec5cae5f43becfe9fd1ff94de855cac08c (diff) | |
download | git-repo-3000cdad2237abe1f956f8109e385891e1a96d17.tar.gz |
Handle shallow checkout of SHA1 pinned repos
When doing a shallow checkout SHA1 pinned repos with repo init --depth=1 and
repo sync -c, repo would try to fetch only some reference and fail if the exact
SHA1 repo was missing.
Instead, when depth is set, fetch only the specific commit.
Change-Id: If3f799d0e78c03faea47f796380bb5e367b11998
Diffstat (limited to 'subcmds/init.py')
0 files changed, 0 insertions, 0 deletions