Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
revisions.txt: clarify the .. and ... syntax
author
Ramkumar Ramachandra
<artagnon@gmail.com>
Mon, 22 Apr 2013 05:30:26 +0000
(11:00 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Apr 2013 06:10:09 +0000
(23:10 -0700)
In <rev1>..<rev2> and <rev1>...<rev2>, if either <rev1> or <rev2> is
omitted, it defaults to 'HEAD'. Add this detail to the document.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/revisions.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
be6f722
)
diff --git
a/Documentation/revisions.txt
b/Documentation/revisions.txt
index b0f72206a09ffe6a703d923756b86c4964c1ad88..242682af07f120ec50fb7a7a1bb85d63e26902ad 100644
(file)
--- a/
Documentation/revisions.txt
+++ b/
Documentation/revisions.txt
@@
-239,11
+239,13
@@
To summarize:
'<rev1>..<rev2>'::
Include commits that are reachable from <rev2> but exclude
'<rev1>..<rev2>'::
Include commits that are reachable from <rev2> but exclude
- those that are reachable from <rev1>.
+ those that are reachable from <rev1>. When either <rev1> or
+ <rev2> is omitted, it defaults to 'HEAD'.
'<rev1>\...<rev2>'::
Include commits that are reachable from either <rev1> or
'<rev1>\...<rev2>'::
Include commits that are reachable from either <rev1> or
- <rev2> but exclude those that are reachable from both.
+ <rev2> but exclude those that are reachable from both. When
+ either <rev1> or <rev2> is omitted, it defaults to 'HEAD'.
'<rev>{caret}@', e.g. 'HEAD{caret}@'::
A suffix '{caret}' followed by an at sign is the same as listing
'<rev>{caret}@', e.g. 'HEAD{caret}@'::
A suffix '{caret}' followed by an at sign is the same as listing