summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-25 02:01:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-25 02:01:47 -0400
commit62f9d1fcb6ca7017a0f4a578af70e943cb943bf3 (patch)
tree51ad28a8c69a071cbf4c097886c4ba8a6914cfdf /repo
parentef0fbc135af2505218a2704c6311780ec4ba1b69 (diff)
downloadgpsd-62f9d1fcb6ca7017a0f4a578af70e943cb943bf3.tar.gz
A step towards a website-update hook.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/update8
1 files changed, 8 insertions, 0 deletions
diff --git a/repo/hooks/update b/repo/hooks/update
index 8a63e14b..bb0078f9 100755
--- a/repo/hooks/update
+++ b/repo/hooks/update
@@ -138,5 +138,13 @@ esac
/gitroot/gpsd/hooks/ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac)
+cdto=$(git rev-parse --show-cdup)
+echo "Path to base directory: $cdto"
+echo "Files modified:"
+for filename in `git diff --name-only ${oldrev} ${newrev}`
+do
+ echo "Source path: $filename"
+done
+
# --- Finished
exit 0