summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorLibravatar Andrei Rybak <rybak.a.v@gmail.com>2021-06-11 13:18:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-14 10:16:06 +0900
commitabcb66c614c574cfa1afccb230bf22cbde4d5557 (patch)
treee8f002ec36c9cc7788dc2e6db705c6ef624728fc /builtin/log.c
parentGit 2.32 (diff)
downloadtgif-abcb66c614c574cfa1afccb230bf22cbde4d5557.tar.xz
*: fix typos which duplicate a word
Fix typos in documentation, code comments, and RelNotes which repeat various words. In trivial cases, just delete the duplicated word and rewrap text, if needed. Reword the affected sentence in Documentation/RelNotes/1.8.4.txt for it to make sense. Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 6102893fcc..516a1142dd 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -1968,8 +1968,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
} else if (rev.diffopt.close_file) {
/*
* The diff code parsed --output; it has already opened the
- * file, but but we must instruct it not to close after each
- * diff.
+ * file, but we must instruct it not to close after each diff.
*/
rev.diffopt.no_free = 1;
} else {