From: Junio C Hamano Date: Wed, 29 May 2013 21:23:03 +0000 (-0700) Subject: Merge branch 'jc/prune-all' X-Git-Tag: v1.8.4-rc0~254 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3e1e7624aa2aa39890ca49d0f7bd3af397c22b03?hp=-c Merge branch 'jc/prune-all' We used the approxidate() parser for "--expire=" 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() --- 3e1e7624aa2aa39890ca49d0f7bd3af397c22b03 diff --combined Documentation/git-reflog.txt index fb8697ea4c,141e8a5e43..70791b9fd8 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@@ -38,7 -38,7 +38,7 @@@ The reflog will cover all recent action as well). It is an alias for `git log -g --abbrev-commit --pretty=oneline`; see linkgit:git-log[1]. -The reflog is useful in various git commands, to specify the old value +The reflog is useful in various Git commands, to specify the old value of a reference. For example, `HEAD@{2}` means "where HEAD used to be two moves ago", `master@{one.week.ago}` means "where master used to point to one week ago", and so on. See linkgit:gitrevisions[7] for @@@ -67,14 -67,19 +67,19 @@@ them --expire=