Skip to content

Commit 5c89734

Browse files
committed
Add hints for merge commits to log cmd in agit
1 parent 7abb733 commit 5c89734

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/agit.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ void cmd_log(void) {
404404
set("git", "log");
405405
opt("--decorate");
406406
opt("--left-right");
407-
hint("< --not --oneline -S HEAD ...@{u} >");
407+
opt("--cherry-mark");
408+
hint("< --first-parent --no-merges --oneline -S HEAD ...@{u} >");
408409
if (add(list_open_files_and_branches)) {
409410
setscratch(cwd, "git:log");
410411
}

0 commit comments

Comments
 (0)