1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

Add git hooks to create .git-commit-id as changes to the repository are made. These hook scripts need to be installed in the .git/hooks directory to actually take effect. See Visual\ Studio\ Projects/git-hooks/0ReadMe_git-hooks.txt for details.

This commit is contained in:
Mark Pizzolato
2013-01-23 12:45:32 -08:00
parent f7e8024c59
commit d80cf8f990
4 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/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