diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-11 00:53:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-11 00:53:31 -0700 |
commit | 10d9d887ecdc81197162d7bbe5dfc0d028498fd6 (patch) | |
tree | f726621f79162565bf066400df697a078680601a /builtin-reflog.c | |
parent | Update draft RelNotes for 1.6.0 (diff) | |
parent | Documentation: fix invalid reference to 'mybranch' in user manual (diff) | |
download | tgif-10d9d887ecdc81197162d7bbe5dfc0d028498fd6.tar.xz |
Merge branch 'maint'
* maint:
Documentation: fix invalid reference to 'mybranch' in user manual
Fix deleting reflog entries from HEAD reflog
reflog test: add more tests for 'reflog delete'
Documentation: rev-list-options: Fix -g paragraph formatting
Conflicts:
Documentation/user-manual.txt
Diffstat (limited to 'builtin-reflog.c')
-rw-r--r-- | builtin-reflog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-reflog.c b/builtin-reflog.c index 0c34e37819..196fa03b7f 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -604,8 +604,8 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix) continue; } - if (!dwim_ref(argv[i], spec - argv[i], sha1, &ref)) { - status |= error("%s points nowhere!", argv[i]); + if (!dwim_log(argv[i], spec - argv[i], sha1, &ref)) { + status |= error("no reflog for '%s'", argv[i]); continue; } |