From: Dave Olszewski Date: Sat, 13 Mar 2010 22:47:05 +0000 (-0800) Subject: don't use default revision if a rev was specified X-Git-Tag: v1.7.0.3~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8fcaca3ff29a193f50a44bb3d5734a503e0539a6?ds=sidebyside;hp=8fcaca3ff29a193f50a44bb3d5734a503e0539a6 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 Signed-off-by: Junio C Hamano ---