We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa9066f + 97f05f4 commit 3701aa0Copy full SHA for 3701aa0
1 file changed
git-rebase--interactive.sh
@@ -1031,9 +1031,11 @@ test -s "$todo" || echo noop >> "$todo"
1031
test -n "$autosquash" && rearrange_squash "$todo"
1032
test -n "$cmd" && add_exec_commands "$todo"
1033
1034
+todocount=$(git stripspace --strip-comments <"$todo" | wc -l)
1035
+
1036
cat >>"$todo" <<EOF
1037
-$comment_char Rebase $shortrevisions onto $shortonto
1038
+$comment_char Rebase $shortrevisions onto $shortonto ($todocount TODO item(s))
1039
EOF
1040
append_todo_help
1041
git stripspace --comment-lines >>"$todo" <<\EOF
0 commit comments