blob: 32d3e4952c1b86ce175ce3d33eadacbd31e0d827 [file] [log] [blame] [raw]
#!/bin/sh
#
# A hook script that is called after a successful
# commit is made to record the commit-id in the working directory.
git log -1 --pretty="%H" >.git-commit-id