Debian Codegraph @

build/git/hooks/post-checkout

raw
1 #!/bin/sh
2 # only do this for branch-level checkouts
3 case $3 in
4 1) git update-index --assume-unchanged mscore/revision.h
5 git rev-parse --short=7 HEAD >mscore/revision.h
6 ;;
7 esac