1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 11:55:43 +00:00
Files
open-simh.simh/Visual Studio Projects/git-hooks/post-checkout

6 lines
164 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="%H" >.git-commit-id