summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-29 12:06:06 +0200
committerTaylor Blau <me@ttaylorr.com>2022-10-30 19:50:43 -0400
commit1e4ea950f7a83240e15f5e77369cf700b94e8759 (patch)
tree16f59142c91397e585f27ede92bd600512d6ee83 /diff.c
parent63bba4fdd86d80ef061c449daa97a981a9be0792 (diff)
archive-tar: report filter start error only once
A missing tar filter is reported by start_command() using error(), but also by its caller, write_tar_filter_archive(), using die(): $ git -c tar.invalid.command=foo archive --format=invalid HEAD error: cannot run foo: No such file or directory fatal: unable to start 'foo' filter: No such file or directory The second message contains all relevant information and even says that the failed command was intended to be used as a filter. Silence the first one because it's redundant. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions