1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-26 04:02:39 +00:00
Files
open-simh.simh/Visual Studio Projects/git-hooks/post-checkout
2018-03-09 02:58:40 -08:00

7 lines
208 B
Bash
Executable File

#!/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