Documentation/git-branch: add default for --contains
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 6 Mar 2012 09:32:45 +0000 (10:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Mar 2012 19:43:23 +0000 (11:43 -0800)
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>
Documentation/git-branch.txt
index cfceac56d294fd27e2e04020cfac54eba33b03cc..6410c3d34545ce9bf191ffe91bbf8fd77cfc9b7e 100644 (file)
@@ -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