Skip to content

Commit 58d2c96

Browse files
jrngitster
authored andcommitted
Documentation: branch: update --merged description
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 25dcc0d commit 58d2c96

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Documentation/git-branch.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,13 @@ start-point is either a local or remote branch.
134134
--contains <commit>::
135135
Only list branches which contain the specified commit.
136136

137-
--merged::
138-
Only list branches which are fully contained by HEAD.
137+
--merged [<commit>]::
138+
Only list branches whose tips are reachable from the
139+
specified commit (HEAD if not specified).
139140

140-
--no-merged::
141-
Do not list branches which are fully contained by HEAD.
141+
--no-merged [<commit>]::
142+
Only list branches whose tips are not reachable from the
143+
specified commit (HEAD if not specified).
142144

143145
<branchname>::
144146
The name of the branch to create or delete.

0 commit comments

Comments
 (0)