commit | 3000cdad2237abe1f956f8109e385891e1a96d17 | [log] [tgz] |
---|---|---|
author | Bertrand SIMONNET <bsimonnet@google.com> | Tue Nov 25 16:19:29 2014 -0800 |
committer | Bertrand SIMONNET <bsimonnet@google.com> | Wed Jan 21 14:14:23 2015 -0800 |
tree | 370e613827df97302ac94c833385f674f56e8a2e | |
parent | 3eb87cec5cae5f43becfe9fd1ff94de855cac08c [diff] |
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