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 <chriscool@tuxfamily.org> Mentored-by: Phillip Wood <phillip.wood@dunelm.org.uk> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Charvi Mendiratta <charvi077@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Charvi Mendiratta committed Feb 10, 2021 at 17:06 UTC 75ace8329c730571281357dd40718a8aefc50db7
1 file changed +4 -3
t/lib-rebase.sh
+4 -3
@@ -15,10 +15,11 @@
15 # specified line.
16 #
17 # "<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.
20 #
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.
23 #
24 # "#" -- Add a comment line.
25 #