aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2016-02-24 17:58:51 -0500
committerMichael Haggerty <mhagger@alum.mit.edu>2016-06-13 11:23:49 +0200
commit12fd3496d19c33c6401c5fdc7558944d46124a0f (patch)
tree541a62489823b571ff738ef7a1f3ff875acafdb7 /contrib/persistent-https
parentrefs: allow log-only updates (diff)
downloadgit-12fd3496d19c33c6401c5fdc7558944d46124a0f.tar.gz
git-12fd3496d19c33c6401c5fdc7558944d46124a0f.zip
refs: don't dereference on rename
When renaming refs, don't dereference either the origin or the destination before renaming. The origin does not need to be dereferenced because it is presently forbidden to rename symbolic refs. Not dereferencing the destination fixes a bug where renaming on top of a broken symref would use the pointed-to ref name for the moved reflog. Add a test for the reflog bug. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions