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:
5
Visual Studio Projects/git-hooks/post-commit
Executable file
5
Visual Studio Projects/git-hooks/post-commit
Executable 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
|
||||
Reference in New Issue
Block a user