summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-16 09:32:06 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-16 09:32:06 -0400
commit39636b5b0372b84f2a4d08c76bf7a4b7eca6631b (patch)
tree846da330ab8dfe56bb74e311a177fd6a96bf24f8 /repo
parent86c0be57401022d6e4448a8123097950d6c3c581 (diff)
downloadgpsd-39636b5b0372b84f2a4d08c76bf7a4b7eca6631b.tar.gz
Experimentally list modified files on push.
If this works, I may try to write a hook to modify the website on commit.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/update2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo/hooks/update b/repo/hooks/update
index 6bb4b23d..50fc35b2 100755
--- a/repo/hooks/update
+++ b/repo/hooks/update
@@ -138,6 +138,8 @@ esac
/gitroot/gpsd/hooks/ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac)
+echo "Files modified:"
+git diff --name-only ${oldrev} ${newrev}
# --- Finished
exit 0