aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-04-07 15:47:59 +0200
committerJunio C Hamano <gitster@pobox.com>2014-04-07 12:09:12 -0700
commit2f57736002e6a774ce5ab53a15a631da8299f8b4 (patch)
tree32d540e6eac7a12e291e832ae514bc4686740071 /contrib/persistent-https
parentupdate-ref --stdin: read the whole input at once (diff)
downloadgit-2f57736002e6a774ce5ab53a15a631da8299f8b4.tar.gz
git-2f57736002e6a774ce5ab53a15a631da8299f8b4.zip
parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twice
Aside from avoiding a tiny bit of work, this makes it transparently obvious that old_sha1 and new_sha1 are identical. It is arguably a bit silly to have to set new_sha1 in order to verify old_sha1, but that is a problem for another day. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions