[packages/rpm-build-tools] update-geoip: update git commit status display
glen
glen at pld-linux.org
Wed Sep 23 06:41:08 CEST 2015
commit d2d44fec81e75526b972bce08855e60f39215afe
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 23 07:41:02 2015 +0300
update-geoip: update git commit status display
update-geoip.sh | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/update-geoip.sh b/update-geoip.sh
index 82a0046..cbc0f3b 100755
--- a/update-geoip.sh
+++ b/update-geoip.sh
@@ -154,6 +154,10 @@ done
for pkg in ${*:-$pkgs}; do
pkg=${pkg%.spec}
cd $pkg
+ out=$(
git status --porcelain
+ git status | grep ahead || :
+ )
+ test -n "$out" && echo "$pkg: $out"
cd ..
done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/d2d44fec81e75526b972bce08855e60f39215afe
More information about the pld-cvs-commit
mailing list