Merge branch 'jc/prune-all'
commit3e1e7624aa2aa39890ca49d0f7bd3af397c22b03
authorJunio C Hamano <gitster@pobox.com>
Wed, 29 May 2013 21:23:03 +0000 (29 14:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 May 2013 21:23:04 +0000 (29 14:23 -0700)
tree013e8e03f854c3458c0c90f7298244ef7efb6e56
parent305e19bdc315f302b935d50abff4a1a405e14b71
parent27ec394a9701675762f02e9af464be2c297c6cf1
Merge branch 'jc/prune-all'

We used the approxidate() parser for "--expire=<timestamp>" options
of various commands, but it is better to treat --expire=all and
--expire=now a bit more specially than using the current timestamp.
Update "git gc" and "git reflog" with a new parsing function for
expiry dates.

* jc/prune-all:
  prune: introduce OPT_EXPIRY_DATE() and use it
  api-parse-options.txt: document "no-" for non-boolean options
  git-gc.txt, git-reflog.txt: document new expiry options
  date.c: add parse_expiry_date()
Documentation/git-reflog.txt
Documentation/technical/api-parse-options.txt
builtin/reflog.c
cache.h
date.c
parse-options.h