Skip to content

Commit 2fd151a

Browse files
benknoblegitster
authored andcommitted
doc: clarify command equivalence comment
Documentation of command parsing for :(optional) includes a terse comment; expand it to be clearer to readers. Suggested-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent aece3bc commit 2fd151a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitcli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Options that take a filename allow a prefix `:(optional)`. For example:
223223
224224
----------------------------
225225
git commit -F :(optional)COMMIT_EDITMSG
226-
# if COMMIT_EDITMSG does not exist, equivalent to
226+
# if COMMIT_EDITMSG does not exist, the above is equivalent to
227227
git commit
228228
----------------------------
229229

0 commit comments

Comments
 (0)