diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-29 02:56:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-03-24 05:01:23 +0000 |
commit | cfc8111f5e04ece139892bb9af4bd63aac2b75f3 (patch) | |
tree | 3bf1cac8e36d3ae01112b3bf481deb350fce1759 /subcmds/branches.py | |
parent | 587f162033b3d39e394cfb0cd13e5703af913901 (diff) | |
download | git-repo-cfc8111f5e04ece139892bb9af4bd63aac2b75f3.tar.gz |
init: allow REPO_REV/--repo-rev to specify commits/tags
While the help/usage suggested that revisions would work, they never
actually did, and just throw confusing errors. Now that we warn if
the checkout isn't tracking a branch, allow people to specify commits
or tags explicitly. Hopefully our nags will be sufficient to keep
most people on the right path.
Bug: https://crbug.com/gerrit/11045
Change-Id: I6ea32c677912185f55ab20faaa23c6c0a4c483b3
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259492
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'subcmds/branches.py')
0 files changed, 0 insertions, 0 deletions