Continued:
[jprojects-scripts.git] / commit-jprojects.sh
index 61ac979..88ec307 100755 (executable)
@@ -31,6 +31,10 @@ for project in ${LIST}; do
                then
                        # Regular commit with given message
                        git commit $2 --signoff -S -m "$1" || exit 255
+               elif [ -d "$1" -o -f "$1" ]
+               then
+                       # Limited commit with no message
+                       git commit $1 --signoff -S || exit 255
                elif [ -n "$1" ]
                then
                        # Regular commit with given message