diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-10 12:47:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-10 12:59:02 -0700 |
commit | 008566e0f8ef9751c43197f40ac08d3bdfce78a7 (patch) | |
tree | 20c3dd972b1310f4e5b47476fc18f1ae3d53efa3 | |
parent | caae319e49e236205d463de2ecf24ce5aae642ab (diff) | |
download | git-008566e0f8ef9751c43197f40ac08d3bdfce78a7.tar.gz git-008566e0f8ef9751c43197f40ac08d3bdfce78a7.tar.xz |
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>
-rw-r--r-- | Documentation/gitcli.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt index ea17f7a53..c4edf042d 100644 --- a/Documentation/gitcli.txt +++ b/Documentation/gitcli.txt @@ -37,7 +37,7 @@ arguments. Here are the rules: file called HEAD in your work tree, `git diff HEAD` is ambiguous, and you have to say either `git diff HEAD --` or `git diff -- HEAD` to disambiguate. - ++ When writing a script that is expected to handle random user-input, it is a good practice to make it explicit which arguments are which by placing disambiguating `--` at appropriate places. |