Merge branch 'jk/maint-reflog-walk-count-vs-time' (early part) into next
commit3652958da56354cdb7dc20fa557cd2e37509785e
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 May 2012 22:06:06 +0000 (7 15:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 May 2012 22:06:06 +0000 (7 15:06 -0700)
treed6839d7532a2281cdf44faf8c801e3ee0a8e4693
parent29575904c8d4dd40c30d6171fa54e769a1337446
parent794151e9b595ddc2700c0801caabfd27be763e12
Merge branch 'jk/maint-reflog-walk-count-vs-time' (early part) into next

"git log -g --format='%gd: %gs' refs/stash" (or worse yet, the same
command line with refs/stash@{0}) was affected by log.date=iso settings
and failed to show stash@{0}, stash@{1},... in the output.  Clarify the
DWIM rules to give the most precedence to how the starting point is
specified (i.e. stash@{0} vs stash@{now}), and then use the presense
of "--date=<format>" command line option as the secondary clue to decide
whether reflog entries are shown with numbers or timestamps.

By Jeff King
* 'jk/maint-reflog-walk-count-vs-time' (early part):
  reflog-walk: always make HEAD@{0} show indexed selectors
  reflog-walk: clean up "flag" field of commit_reflog struct
  log: respect date_mode_explicit with --format:%gd
  t1411: add more selector index/date tests
builtin/rev-list.c
commit.h
log-tree.c
pretty.c
reflog-walk.c