commit | b610b850ac2d791e193383dd77501565fca60aa4 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Mon Nov 11 05:10:03 2019 -0500 |
committer | Mike Frysinger <vapier@google.com> | Tue Nov 12 23:14:28 2019 +0000 |
tree | dd6625a8fb26a315aadfedb25cba3f776a650400 | |
parent | dff919493aae85d2462b614c9cb4eedeb23fdb96 [diff] |
sync: add sanity check for local checkouts missing network If you run `repo sync -l foo` without first `repo sync -n foo`, repo sets up an invalid gitdir tree that gets wedged and requires manual recovery. Add a sanity check to abort cleanly first. Change-Id: Iad865ea860a3f1fd2f39ce683fe66bd4380745a5 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/244732 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.