summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commitpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commitpkg.in b/src/commitpkg.in
index 26117dc..e761d8e 100644
--- a/src/commitpkg.in
+++ b/src/commitpkg.in
@@ -173,7 +173,7 @@ done
# check for PKGBUILD standards
check_pkgbuild_validity
-if [[ -n $(git status --short --untracked-files=no) ]]; then
+if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
stat_busy 'Staging files'
for f in $(git ls-files --modified); do
git add "$f"