summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-sonar7
1 files changed, 2 insertions, 5 deletions
diff --git a/git-sonar b/git-sonar
index f957b73..8917cab 100755
--- a/git-sonar
+++ b/git-sonar
@@ -90,11 +90,8 @@ dot_git() {
}
is_repo() {
- if [[ -n "$(dot_git)" ]]; then
- return 0
- else
- return 1
- fi
+ git-precheck --quiet
+ [ $? -lt 4 ]
}
record_timestamp() {