Commit 834adf07 by Ned Batchelder

Add git status to this diagnostic helper

parent d2417b6b
...@@ -2,10 +2,13 @@ ...@@ -2,10 +2,13 @@
# #
# Display the head commit for all our git repos # Display the head commit for all our git repos
echo "With status..."
# Look in .git directories. Only two levels down to avoid virtualenvs. # Look in .git directories. Only two levels down to avoid virtualenvs.
for d in {{ COMMON_APP_DIR }}/*/*/.git; do for d in {{ COMMON_APP_DIR }}/*/*/.git; do
d=$(dirname $d) d=$(dirname $d)
echo "---- $d ----" echo "---- $d ----"
git -C $d log -1 --format='%ci (%h) %cn: %s %d' git -C $d log -1 --format='%ci (%h) %cn: %s %d'
git -C $d status --short
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment