From: Johannes Schindelin Date: Wed, 17 Oct 2007 01:50:45 GMT Subject: [PATCH] Teach "git reflog" a subcommand to delete single entries Message-ID: 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 --- Documentation/git-reflog.txt | 5 +++ builtin-reflog.c | 59 ++++++++++++++++++++++++++++++++++++++++++ t/t1410-reflog.sh | 26 ++++++++++++++++++ 3 files changed, 90 insertions(+), 0 deletions(-) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 5c7316c..a0c7cee 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -19,6 +19,8 @@ depending on the subcommand: git reflog expire [--dry-run] [--stale-fix] [--verbose] [--expire=