Code

Documentation: branch: update --merged description
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 9 Oct 2009 10:18:58 +0000 (05:18 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Oct 2009 21:50:21 +0000 (14:50 -0700)
Update the documentation for --merged and --no-merged to explain
the meaning of the optional parameter introduced in commit 049716b
(branch --merged/--no-merged: allow specifying arbitrary commit,
2008-07-08).

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt

index aad71dc59a7c385be4f24ee9b981cd998fdd186f..f34911fe9a5dbfeec3a6d16c4d2c5357ddbbfd4d 100644 (file)
@@ -134,11 +134,13 @@ start-point is either a local or remote branch.
 --contains <commit>::
        Only list branches which contain the specified commit.
 
---merged::
-       Only list branches which are fully contained by HEAD.
+--merged [<commit>]::
+       Only list branches whose tips are reachable from the
+       specified commit (HEAD if not specified).
 
---no-merged::
-       Do not list branches which are fully contained by HEAD.
+--no-merged [<commit>]::
+       Only list branches whose tips are not reachable from the
+       specified commit (HEAD if not specified).
 
 <branchname>::
        The name of the branch to create or delete.