]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
purge-packages: use git status --porcelain instead of --short
authorElan Ruusamäe <glen@delfi.ee>
Mon, 12 Nov 2012 21:15:46 +0000 (23:15 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 12 Nov 2012 21:15:46 +0000 (23:15 +0200)
purge-packages.sh

index b8ca00c62956633ce4ae6eaf1ecc694443c71509..25a8e82cf29e1e53d7727a4c9ee95b1d280fc39a 100755 (executable)
@@ -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
This page took 0.034858 seconds and 4 git commands to generate.