summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
authorMichael Kelly <mkelly@arista.com>2020-07-21 19:40:38 -0700
committerMichael Kelly <mkelly@arista.com>2021-09-28 20:12:00 +0000
commit2f3c3316e497faafa1e6f3e9cb40828d0eeb9812 (patch)
tree879470f435e54f3095424c632ae149fb4adb1186 /git_config.py
parent37c21c268badc2602a827d2236027e235fff95e0 (diff)
downloadgit-repo-2f3c3316e497faafa1e6f3e9cb40828d0eeb9812.tar.gz
Update revisionId if required when using extend-project
When a hard revision ID is provided in a regular project tag then the revisionId is updated as well if it is a commit hash. The difference is that if the revisionExpr is a commit, git-repo needs to update refs/remotes/m/master with update-ref not symbolic-ref, as the latter must refer to another ref, not to a specific commit. Change-Id: I215a62dabb30225e480ad2c731416d775fc0c750 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/310963 Tested-by: Michael Kelly <mkelly@arista.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'git_config.py')
0 files changed, 0 insertions, 0 deletions