Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-17 00:08:46 +0300
committerJunio C Hamano <gitster@pobox.com>2019-12-17 00:08:46 +0300
commitd1c0fe8d9b16bf8b6b1cc0e83fac6670e3f64f0f (patch)
tree8885156cb43cf3b23cb30f0409c57ac56c3b1c26 /builtin
parent26c816a67de449b3c5284ab97b03aeeeeabbb45c (diff)
parentabcf8573005d548fe213aa7b4579394fa18692a1 (diff)
Merge branch 'dl/range-diff-with-notes'
Code clean-up. * dl/range-diff-with-notes: range-diff: clear `other_arg` at end of function range-diff: mark pointers as const t3206: fix incorrect test name
Diffstat (limited to 'builtin')
-rw-r--r--builtin/range-diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/range-diff.c b/builtin/range-diff.c
index 98acf3533e..d8a4670629 100644
--- a/builtin/range-diff.c
+++ b/builtin/range-diff.c
@@ -84,6 +84,7 @@ int cmd_range_diff(int argc, const char **argv, const char *prefix)
res = show_range_diff(range1.buf, range2.buf, creation_factor,
simple_color < 1, &diffopt, &other_arg);
+ argv_array_clear(&other_arg);
strbuf_release(&range1);
strbuf_release(&range2);