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>
Vincent van Ravesteijn committed
Mar 6, 2012 at 10:32 UTC
f36ed6db699673bcfb010ab7343bacd5537eb679
1 file changed
+3
-2
Documentation/git-branch.txt
+3
-2
@@ -163,8 +163,9 @@ start-point is either a local or remote-tracking branch.
163
Open an editor and edit the text to explain what the branch is
164
for, to be used by various other commands (e.g. `request-pull`).
165
166
---contains <commit>::
167
- Only list branches which contain the specified commit.
166
+--contains [<commit>]::
167
+ Only list branches which contain the specified commit (HEAD
168
+ if not specified).
169
170
--merged [<commit>]::
171
Only list branches whose tips are reachable from the