diff options
-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 |