Skip to content
Commit cfc8111f authored by Mike Frysinger's avatar Mike Frysinger
Browse files

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: default avatarMike Frysinger <vapier@google.com>
Reviewed-by: default avatarJonathan Nieder <jrn@google.com>
parent 587f1620
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment