summaryrefslogtreecommitdiff
path: root/Documentation/git-push.txt
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2019-08-10 05:59:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-08-12 00:40:07 (GMT)
commit24966cd9820a6b0d4e348807b07cb9af8ba84fc7 (patch)
treed12bdffb8aa0f4cf53a7ec6d24a074360366bfa1 /Documentation/git-push.txt
parent2e27de94d485a6da0c8e264c165e55100f1a13a8 (diff)
downloadgit-24966cd9820a6b0d4e348807b07cb9af8ba84fc7.zip
git-24966cd9820a6b0d4e348807b07cb9af8ba84fc7.tar.gz
git-24966cd9820a6b0d4e348807b07cb9af8ba84fc7.tar.bz2
doc: fix repeated words
Inspired by 21416f0a07 ("restore: fix typo in docs", 2019-08-03), I ran "git grep -E '(\b[a-zA-Z]+) \1\b' -- Documentation/" to find other cases where words were duplicated, e.g. "the the", and in most cases removed one of the repeated words. There were many false positives by this grep command, including deliberate repeated words like "really really" or valid uses of "that that" which I left alone, of course. I also did not correct any of the legitimate, accidentally repeated words in old RelNotes. Signed-off-by: Mark Rushakoff <mark.rushakoff@gmail.com> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-push.txt')
-rw-r--r--Documentation/git-push.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 6a8a0d9..3b80534 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -75,7 +75,7 @@ without any `<refspec>` on the command line. Otherwise, missing
+
If <dst> doesn't start with `refs/` (e.g. `refs/heads/master`) we will
try to infer where in `refs/*` on the destination <repository> it
-belongs based on the the type of <src> being pushed and whether <dst>
+belongs based on the type of <src> being pushed and whether <dst>
is ambiguous.
+
--