From: Vincent van Ravesteijn Date: Tue, 6 Mar 2012 09:32:45 +0000 (+0100) Subject: Documentation/git-branch: add default for --contains X-Git-Tag: v1.7.10-rc1~16^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f36ed6db699673bcfb010ab7343bacd5537eb679;p=git Documentation/git-branch: add default for --contains Indicate that the commit parameter of --contains defaults to HEAD. Signed-off-by: Vincent van Ravesteijn Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index cfceac56d2..6410c3d345 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 :: - Only list branches which contain the specified commit. +--contains []:: + Only list branches which contain the specified commit (HEAD + if not specified). --merged []:: Only list branches whose tips are reachable from the