summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authorDave Olszewski <cxreg@pobox.com>2010-03-13 23:47:05 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-14 06:23:43 +0100
commit8fcaca3ff29a193f50a44bb3d5734a503e0539a6 (patch)
tree849aa7f164afc9cabbc523b9730c0f55a6ed7f7a /dir.c
parentfor_each_recent_reflog_ent(): use strbuf, fix offset handling (diff)
downloadgit-8fcaca3ff29a193f50a44bb3d5734a503e0539a6.tar.xz
git-8fcaca3ff29a193f50a44bb3d5734a503e0539a6.zip
don't use default revision if a rev was specified
If a revision is specified, it happens not to have any commits, don't use the default revision. By doing so, surprising and undesired behavior can happen, such as showing the reflog for HEAD when a branch was specified. [jc: squashed a test from René] Signed-off-by: Dave Olszewski <cxreg@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions