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>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
This commit is contained in:
Martin Ågren 2017-08-23 19:49:35 +02:00 committed by Pratyush Yadav
parent b71c6c3b64
commit faf420e05a

View File

@ -165,7 +165,7 @@ to contribute an update. This may be because you would want to improve
the translation of existing messages, or because the git-gui software the translation of existing messages, or because the git-gui software
itself was updated and there are new messages that need translation. itself was updated and there are new messages that need translation.
In any case, make sure you are up-to-date before starting your work: In any case, make sure you are up to date before starting your work:
$ git checkout master $ git checkout master
$ git pull $ git pull