File: post-checkout

package info (click to toggle)
musescore3 3.2.3%2Bdfsg2-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 218,192 kB
  • sloc: cpp: 291,369; xml: 200,226; sh: 3,779; ansic: 1,447; python: 393; makefile: 249; perl: 82; pascal: 79
file content (7 lines) | stat: -rwxr-xr-x 191 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
#!/bin/sh
# only do this for branch-level checkouts
case $3 in
1)    git update-index --assume-unchanged mscore/revision.h
      git rev-parse --short=7 HEAD >mscore/revision.h
      ;;
esac