From 552cecc21447efe9d5f9a86d55b5e428d56a0c53 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 17 Oct 2007 02:50:45 +0100 Subject: [PATCH] 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 Signed-off-by: Shawn O. Pearce --- Documentation/git-reflog.txt | 5 +++ builtin-reflog.c | 59 ++++++++++++++++++++++++++++++++++++ t/t1410-reflog.sh | 26 ++++++++++++++++ 3 files changed, 90 insertions(+) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 5c7316ceb..a0c7ceead 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=