summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-10-02 23:36:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-10-02 23:36:51 +0200
commit343644fc32245f835b44e8a859b80c7ac8a3c3ca (patch)
treee9dc84f017c19a1de45b8a4141004361cb061d6a
parent3e2c1dcda887abbfecf47a3c84eba9b9bbea24ca (diff)
downloadcurl-343644fc32245f835b44e8a859b80c7ac8a3c3ca.tar.gz
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]
-rwxr-xr-xscripts/delta2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/delta b/scripts/delta
index 7d5f2b52e..bc1681fad 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