Code

Teach "git reflog" a subcommand to delete single entries
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 17 Oct 2007 01:50:45 +0000 (02:50 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 17 Oct 2007 06:54:51 +0000 (02:54 -0400)
commit552cecc21447efe9d5f9a86d55b5e428d56a0c53
treec6dd9228628bd4db04a50539eee64a18f37c56b5
parent207f1a75e7e4d14286aeed107af7c56dc811797b
Teach "git reflog" a subcommand to delete single entries

This commit implements the "delete" subcommand:

git reflog delete master@{2}

will delete the second reflog entry of the "master" branch.

With this, it should be easy to implement "git stash pop" everybody
seems to want these days.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/git-reflog.txt
builtin-reflog.c
t/t1410-reflog.sh