mirror of
https://github.com/simh/simh.git
synced 2026-01-13 23:35:57 +00:00
6 lines
213 B
Bash
Executable File
6 lines
213 B
Bash
Executable File
#!/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="SIM_GIT_COMMIT_ID %H%nSIM_GIT_COMMIT_TIME %aI" >.git-commit-id
|