From 24966cd9820a6b0d4e348807b07cb9af8ba84fc7 Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Fri, 9 Aug 2019 22:59:14 -0700 Subject: 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 Acked-by: Jeff King Signed-off-by: Junio C Hamano --- Documentation/git-push.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/git-push.txt') diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index 6a8a0d958b..3b8053447e 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -75,7 +75,7 @@ without any `` on the command line. Otherwise, missing + If doesn't start with `refs/` (e.g. `refs/heads/master`) we will try to infer where in `refs/*` on the destination it -belongs based on the the type of being pushed and whether +belongs based on the type of being pushed and whether is ambiguous. + -- -- cgit v1.3