mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
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]
This commit is contained in:
parent
3e2c1dcda8
commit
343644fc32
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user