diff options
author | Michael Allen <michael@michaelallen.io> | 2015-02-23 16:35:27 +0000 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-02-23 16:35:27 +0000 |
commit | 1206f6ad808be4becb593bd447caf4dc4e44cedb (patch) | |
tree | 90e2e5537c8c692d9968380963bfc1761ea45541 | |
parent | 0e5f04c68674f5f775b0973fa8b2bde4ff1eab4f (diff) | |
download | git-sonar-1206f6ad808be4becb593bd447caf4dc4e44cedb.tar.gz git-sonar-1206f6ad808be4becb593bd447caf4dc4e44cedb.zip |
quieten the stat call
-rwxr-xr-x | git-base.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-base.sh b/git-base.sh index 7024161..254a306 100755 --- a/git-base.sh +++ b/git-base.sh @@ -62,7 +62,7 @@ record_timestamp() { timestamp() { if is_repo; then - echo "$(stat -f%m "$(dot_git)/lastupdatetime" || echo "0")" + echo "$(stat -f%m "$(dot_git)/lastupdatetime" 2>/dev/null || echo "0")" fi } |