diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-16 13:08:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-16 13:08:46 -0800 |
commit | d1c0fe8d9b16bf8b6b1cc0e83fac6670e3f64f0f (patch) | |
tree | 8885156cb43cf3b23cb30f0409c57ac56c3b1c26 /builtin | |
parent | Merge branch 'hw/doc-in-header' (diff) | |
parent | range-diff: clear `other_arg` at end of function (diff) | |
download | tgif-d1c0fe8d9b16bf8b6b1cc0e83fac6670e3f64f0f.tar.xz |
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.c | 1 |
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); |