aboutsummaryrefslogtreecommitdiff
path: root/commit-updates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-03 03:02:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-03 03:02:51 -0300
commit1b0c6ae2b62ed57ee4d5c565b7d372166ca9f830 (patch)
tree8fd404ce1a40cfa8c3cb14f986f99b94154f9a5b /commit-updates
parent0dbca649ba0cfeab696c48ab2f0287e0cea934d1 (diff)
downloadutils-git-1b0c6ae2b62ed57ee4d5c565b7d372166ca9f830.tar.gz
utils-git-1b0c6ae2b62ed57ee4d5c565b7d372166ca9f830.tar.bz2
Updates
Diffstat (limited to 'commit-updates')
-rwxr-xr-xcommit-updates2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-updates b/commit-updates
index 69ba4e8..ed3f214 100755
--- a/commit-updates
+++ b/commit-updates
@@ -8,7 +8,7 @@ PROJECT="$1"
# Check if param is a project
if [ ! -z "$PROJECT" ] && [ -z "$2" ] && ( cd $PROJECT &> /dev/null ); then
- if git status 2> /dev/null && ! git status $PROJECT | grep -q "$PROJECT (new commits)"; then
+ if ! git status 2> /dev/null && git status $PROJECT | grep -q "$PROJECT (new commits)"; then
cd $PROJECT &> /dev/null
shift
fi