added git-survey, recurse over subdirs and check if there's anything to push
This commit is contained in:
parent
d9d7c028e9
commit
9c9eae22bb
1
Makefile
1
Makefile
|
@ -25,6 +25,7 @@ sh:
|
||||||
cp -f sh/start $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/start $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f sh/proxtest $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/proxtest $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
|
||||||
|
cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
||||||
mkc:
|
mkc:
|
||||||
cc c/scream.c -o c/scream
|
cc c/scream.c -o c/scream
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in $(ls); do
|
||||||
|
cd $i
|
||||||
|
exists=$(
|
||||||
|
git status |\
|
||||||
|
grep 'Your branch is ahead of ' |\
|
||||||
|
wc -l
|
||||||
|
)
|
||||||
|
|
||||||
|
[ "$exists" -eq 0 ] || printf "> %s\n" "$i"
|
||||||
|
cd ..
|
||||||
|
done
|
Loading…
Reference in New Issue