Skip to content

Commit 008566e

Browse files
committed
gitcli: formatting fix
The paragraph to encourage use of "--" in scripts belongs to the bullet point that describes the behaviour for a command line without the explicit "--" disambiguation; it is not a supporting explanation for the entire bulletted list, and it is wrong to make it a separate paragraph outside the list. Signed-off-by: Junio C Hamano <[email protected]>
1 parent caae319 commit 008566e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitcli.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ arguments. Here are the rules:
3737
file called HEAD in your work tree, `git diff HEAD` is ambiguous, and
3838
you have to say either `git diff HEAD --` or `git diff -- HEAD` to
3939
disambiguate.
40-
40+
+
4141
When writing a script that is expected to handle random user-input, it is
4242
a good practice to make it explicit which arguments are which by placing
4343
disambiguating `--` at appropriate places.

0 commit comments

Comments
 (0)