summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-02 23:41:25 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-02 23:41:25 -0800
commita3114b3428595710d4719dd668531210af5993c9 (patch)
treef8fd3fbe142b48e20aa1317802cbda173b433b95
parentBe careful when dereferencing tags. (diff)
downloadtgif-a3114b3428595710d4719dd668531210af5993c9.tar.xz
Document --since and --until options to rev-parse.
The usability magic were hidden in the source code without being documented, and even the maintainer did not know about them ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/git-rev-parse.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 099db294f4..dfe21391aa 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -72,6 +72,14 @@ OPTIONS
path of the current directory relative to the top-level
directory.
+--since=datestring, --after=datestring::
+ Parses the date string, and outputs corresponding
+ --max-age= parameter for git-rev-list command.
+
+--until=datestring, --before=datestring::
+ Parses the date string, and outputs corresponding
+ --min-age= parameter for git-rev-list command.
+
<args>...::
Flags and parameters to be parsed.