From 3a4dc48623793aad5770f0360eca8eb83f943657 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Mon, 22 Apr 2013 11:00:26 +0530 Subject: [PATCH] revisions.txt: clarify the .. and ... syntax In .. and ..., if either or is omitted, it defaults to 'HEAD'. Add this detail to the document. Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- Documentation/revisions.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index b0f72206a..242682af0 100644 --- a/Documentation/revisions.txt +++ b/Documentation/revisions.txt @@ -239,11 +239,13 @@ To summarize: '..':: Include commits that are reachable from but exclude - those that are reachable from . + those that are reachable from . When either or + is omitted, it defaults to 'HEAD'. '\...':: Include commits that are reachable from either or - but exclude those that are reachable from both. + but exclude those that are reachable from both. When + either or is omitted, it defaults to 'HEAD'. '{caret}@', e.g. 'HEAD{caret}@':: A suffix '{caret}' followed by an at sign is the same as listing -- 2.11.0