[packages/rpm-build-tools] purge-packages: use git status --porcelain instead of --short
glen
glen at pld-linux.org
Mon Nov 12 22:15:51 CET 2012
commit 7bf3bf31252ec8b37480fcf0e98354016d91e7c7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 12 23:15:46 2012 +0200
purge-packages: use git status --porcelain instead of --short
purge-packages.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/purge-packages.sh b/purge-packages.sh
index b8ca00c..25a8e82 100755
--- a/purge-packages.sh
+++ b/purge-packages.sh
@@ -17,7 +17,7 @@ install -d $purgedir
for pkg in */.git; do
pkg=${pkg%/.git}
cd "$pkg"
- status=$(git status -s)
+ status=$(git status --porcelain)
# FIXME: does not currently handle if some pushes are not made!
if [ -n "$status" ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/7bf3bf31252ec8b37480fcf0e98354016d91e7c7
More information about the pld-cvs-commit
mailing list