From: Daniel Stenberg Date: Sat, 2 Oct 2021 21:36:00 +0000 (+0200) Subject: scripts/delta: hide a git error message we don't care about X-Git-Tag: curl-7_80_0~143 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=343644fc32245f835b44e8a859b80c7ac8a3c3ca;p=thirdparty%2Fcurl.git scripts/delta: hide a git error message we don't care about fatal: path 'src/tool_listhelp.c' exists on disk, but not in [tag] --- diff --git a/scripts/delta b/scripts/delta index 7d5f2b52e8..bc1681fadd 100755 --- a/scripts/delta +++ b/scripts/delta @@ -63,7 +63,7 @@ $nsetopts = $asetopts - $bsetopts; # Number of command line options: $aoptions=`grep -c '{"....--' src/tool_listhelp.c`; -$boptions=`git show $start:src/tool_listhelp.c | grep -c '{"....--'`; +$boptions=`git show $start:src/tool_listhelp.c 2>/dev/null | grep -c '{"....--'`; $noptions=$aoptions - $boptions; # Number of files in git