aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-rm.txt
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2017-08-23 19:49:35 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-23 12:17:22 -0700
commit7560f547e614244fe1d4648598d4facf7ed33a56 (patch)
tree7cd5d283d3157191ca641073ed104c1f6eec5023 /Documentation/git-rm.txt
parent3c82eec8fbae30860c58afba11e8b48186a06c35 (diff)
downloadgit-7560f547e614244fe1d4648598d4facf7ed33a56.tar.gz
treewide: correct several "up-to-date" to "up to date"
Follow the Oxford style, which says to use "up-to-date" before the noun, but "up to date" after it. Don't change plumbing (specifically send-pack.c, but transport.c (git push) also has the same string). This was produced by grepping for "up-to-date" and "up to date". It turned out we only had to edit in one direction, removing the hyphens. Fix a typo in Documentation/git-diff-index.txt while we're there. Reported-by: Jeffrey Manian <jeffrey.manian@gmail.com> Reported-by: STEVEN WHITE <stevencharleswhitevoices@gmail.com> Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rm.txt')
-rw-r--r--Documentation/git-rm.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-rm.txt b/Documentation/git-rm.txt
index 683e591330..b5c46223c4 100644
--- a/Documentation/git-rm.txt
+++ b/Documentation/git-rm.txt
@@ -146,7 +146,7 @@ the submodule's history. If it exists the submodule.<name> section
in the linkgit:gitmodules[5] file will also be removed and that file
will be staged (unless --cached or -n are used).
-A submodule is considered up-to-date when the HEAD is the same as
+A submodule is considered up to date when the HEAD is the same as
recorded in the index, no tracked files are modified and no untracked
files that aren't ignored are present in the submodules work tree.
Ignored files are deemed expendable and won't stop a submodule's work