summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <casey@nrlssc.navy.mil>2008-02-22 12:56:50 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-22 22:57:38 -0800
commit2b81fab2885256501d0bba6e16e516addb667bf3 (patch)
treef156c514abbc71be58a3222b91472a548519d03b /t
parentreflog-delete: parse standard reflog options (diff)
downloadtgif-2b81fab2885256501d0bba6e16e516addb667bf3.tar.xz
git-reflog: add option --rewrite to update reflog entries while expiring
Certain sanity checks on the reflog assume that each entry will contain a reference to the previous entry. i.e. that the "old" sha1 field of a reflog entry will be equal to the "new" sha1 field of the previous entry. 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 rewrite the "old" sha1 field of each reflog entry so that it points to the previous reflog entry. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions