aboutsummaryrefslogtreecommitdiff
path: root/commit
diff options
context:
space:
mode:
Diffstat (limited to 'commit')
-rwxr-xr-xcommit6
1 files changed, 3 insertions, 3 deletions
diff --git a/commit b/commit
index d16fc81..d099d00 100755
--- a/commit
+++ b/commit
@@ -55,7 +55,7 @@ function is_git {
return
else
( cd "$1" && $GIT status &> /dev/null )
-
+
if [ "$?" != "128" ]; then
return
else
@@ -68,13 +68,13 @@ function is_git {
function is_svn {
# simple svn folder checker
# usage: is_svn <folder>
-
+
if [ -d "$1/.svn" ]; then
return
else
return 1
fi
-}
+}
# Push to repositories
function git_push {