aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools/hooks/pre-commit
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-03-13 13:04:44 +0100
committerIgor Wiedler <igor@wiedler.ch>2010-03-13 13:10:14 +0100
commit6a9304021f41cd8319ccb009bb24792ffc5438bc (patch)
tree4f6eac567b4a71a8197e275b96bf7bc4e712c271 /git-tools/hooks/pre-commit
parentf9192bed79c2d5a0c1e8388bcdc35be3d21aa9a8 (diff)
downloadforums-6a9304021f41cd8319ccb009bb24792ffc5438bc.tar
forums-6a9304021f41cd8319ccb009bb24792ffc5438bc.tar.gz
forums-6a9304021f41cd8319ccb009bb24792ffc5438bc.tar.bz2
forums-6a9304021f41cd8319ccb009bb24792ffc5438bc.tar.xz
forums-6a9304021f41cd8319ccb009bb24792ffc5438bc.zip
[git-tools] Improvements on prepare-commt-msg hook
prepare-commit-hook now uses `git symbolic-ref HEAD` instead of reading $GIT_DIR/HEAD directly. This seems to be a more portable solution. Thanks to Chris (cs278/ToonArmy) for the suggestion.
Diffstat (limited to 'git-tools/hooks/pre-commit')
0 files changed, 0 insertions, 0 deletions