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