Commit 07782618 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix SIGPIPE error in detect_changes when many files changed

When thousands of files change (common in repos with many test files),
piping to 'head -50' causes SIGPIPE when echo tries to write more data.

Fix by adding '|| true' to suppress the SIGPIPE error, and also show
the total file count when output is truncated.
parent e6d4a4aa
Loading
Loading
Loading
Loading