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 <gitster@pobox.com>
Junio C Hamano committed
Sep 10, 2012 at 12:47 UTC
008566e0f8ef9751c43197f40ac08d3bdfce78a7
1 file changed
+1
-1
Documentation/gitcli.txt
+1
-1
@@ -37,7 +37,7 @@ arguments. Here are the rules:
37
file called HEAD in your work tree, `git diff HEAD` is ambiguous, and
38
you have to say either `git diff HEAD --` or `git diff -- HEAD` to
39
disambiguate.
40
-
40
++
41
When writing a script that is expected to handle random user-input, it is
42
a good practice to make it explicit which arguments are which by placing
43
disambiguating `--` at appropriate places.