summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFredrik de Groot <fredrik.de.groot@volvocars.com>2019-11-22 09:04:31 +0100
committerMike Frysinger <vapier@google.com>2020-02-05 18:57:58 +0000
commitcc960971f450907b44259154821515224d3a2ea3 (patch)
tree04900a5ab865a8819f1bad821bb655147dd26e00 /tests
parent66098f707a1a3f352aac4c4bb2c4f88da070ca2a (diff)
downloadgit-repo-cc960971f450907b44259154821515224d3a2ea3.tar.gz
sync: add option to skip manifest update
The use case is any situation where your manifest does not exist on server, but where you still want to do full sync for the projects, without having your workspace manifest switched to other branch or forwarded to latest or similar. This allows syncing to a historical manifest in git log, that does not have a branch, as well as when integrating something together that has not been pushed upstream yet. Changes can also exist locally on a manifest that is behind head, meaning not requiring rebase to latest. Tested using: $ cd .repo/manifests/ $ git checkout <any hash 1> $ <do local modifications> $ repo sync --no-manifest-update $ git checkout <any hash 2> $ repo sync --no-manifest-update Change-Id: I0c9773aa8bc5876813a2e7d7fec697abcb2d9e94 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/246445 Tested-by: Fredrik de Groot <fredrik.de.groot@volvocars.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions