diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-02 23:36:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-02 23:36:51 +0200 |
commit | 343644fc32245f835b44e8a859b80c7ac8a3c3ca (patch) | |
tree | e9dc84f017c19a1de45b8a4141004361cb061d6a | |
parent | 3e2c1dcda887abbfecf47a3c84eba9b9bbea24ca (diff) | |
download | curl-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-x | scripts/delta | 2 |
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 |