summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <casey@nrlssc.navy.mil>2008-02-22 13:04:12 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-22 22:57:38 -0800
commit55f105653715356fe0b2392445a6f394b891402c (patch)
tree78a6820fbaf3eb82d3d04f58862abdfa08366e4e /git-send-email.perl
parentrefs.c: make close_ref() and commit_ref() non-static (diff)
downloadtgif-55f105653715356fe0b2392445a6f394b891402c.tar.xz
git-reflog: add option --updateref to write the last reflog sha1 into the ref
Certain sanity checks on the reflog assume that the sha1 of the top reflog entry will be equal to the sha1 stored in the ref. When reflog entries are deleted, this assumption may not hold. This patch adds a new option to git-reflog which causes the subcommands "expire" and "delete" to update the ref with the sha1 of the top-most reflog entry. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
0 files changed, 0 insertions, 0 deletions