summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent van Ravesteijn <vfr@lyx.org>2012-03-06 09:32:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-06 19:43:23 (GMT)
commitf36ed6db699673bcfb010ab7343bacd5537eb679 (patch)
treec164e5d4f73f3e30cd7dd08ed56339cf20e15432
parentebab98942069400b12aa357c95e3e8f7a4f26bab (diff)
downloadgit-f36ed6db699673bcfb010ab7343bacd5537eb679.zip
git-f36ed6db699673bcfb010ab7343bacd5537eb679.tar.gz
git-f36ed6db699673bcfb010ab7343bacd5537eb679.tar.bz2
Documentation/git-branch: add default for --contains
Indicate that the commit parameter of --contains defaults to HEAD. Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-branch.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index cfceac5..6410c3d 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -163,8 +163,9 @@ start-point is either a local or remote-tracking branch.
Open an editor and edit the text to explain what the branch is
for, to be used by various other commands (e.g. `request-pull`).
---contains <commit>::
- Only list branches which contain the specified commit.
+--contains [<commit>]::
+ Only list branches which contain the specified commit (HEAD
+ if not specified).
--merged [<commit>]::
Only list branches whose tips are reachable from the