Skip to content

Commit 9c54e27

Browse files
committed
Document the '--log/-l` option
Signed-off-by: Michael Haggerty <[email protected]>
1 parent 06a2bd8 commit 9c54e27

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Options:
2828
characters (or more if needed to avoid ambiguity).
2929
See also whenmerged.abbrev below under CONFIGURATION.
3030
--no-abbrev Do not abbreviate commit SHA1s.
31+
-l, --log Show the log for the merge commit.
3132
-d, --diff Show the diff for the merge commit.
3233
-v, --visualize Visualize the merge commit using gitk.
3334

bin/git-when-merged

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Examples:
4949
git when-merged 0a1b -n releases # Use whenmerged.releases.pattern
5050
git when-merged 0a1b -s # Use whenmerged.default.pattern
5151
52-
git when-merged 0a1b -d feature-1 # Show diff for each merge commit
52+
git when-merged 0a1b -l feature-1 # Show log for the merge commit
53+
git when-merged 0a1b -d feature-1 # Show diff for the merge commit
5354
git when-merged 0a1b -v feature-1 # Display merge commit in gitk
5455
5556
Configuration:

0 commit comments

Comments
 (0)