Skip to content

Commit 75ace83

Browse files
charvi-077gitster
authored andcommitted
t/lib-rebase: update the documentation of FAKE_LINES
FAKE_LINES helper function use underscore to embed a space in a single command. Let's document it and also update the list of commands. Mentored-by: Christian Couder <[email protected]> Mentored-by: Phillip Wood <[email protected]> Helped-by: Eric Sunshine <[email protected]> Signed-off-by: Charvi Mendiratta <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f07871d commit 75ace83

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

t/lib-rebase.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
# specified line.
1616
#
1717
# "<cmd> <lineno>" -- add a line with the specified command
18-
# ("pick", "squash", "fixup", "edit", "reword" or "drop") and the
19-
# SHA1 taken from the specified line.
18+
# ("pick", "squash", "fixup"|"fixup_-C"|"fixup_-c", "edit", "reword" or "drop")
19+
# and the SHA1 taken from the specified line.
2020
#
21-
# "exec_cmd_with_args" -- add an "exec cmd with args" line.
21+
# "_" -- add a space, like "fixup_-C" implies "fixup -C" and
22+
# "exec_cmd_with_args" add an "exec cmd with args" line.
2223
#
2324
# "#" -- Add a comment line.
2425
#

0 commit comments

Comments
 (0)