Skip to content

Commit

Permalink
Documentation/git-branch: add default for --contains
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vincent van Ravesteijn authored and Junio C Hamano committed Mar 6, 2012
1 parent ebab989 commit f36ed6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f36ed6d

Please sign in to comment.