blob: c9236188579d6ecf09cb08b02cb674687233d913 [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="SIM_GIT_COMMIT_ID %H%nSIM_GIT_COMMIT_TIME %aI" >.git-commit-id