File: post-commit

package info (click to toggle)
qman 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,644 kB
  • sloc: ansic: 6,217; python: 149; sh: 82; makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Add the files modified by pre-commit into HEAD

if [ -e /tmp/qman-commit ]
then
  rm /tmp/qman-commit
  git commit --amend -C HEAD --no-verify
  echo "Version changes committed"
fi

exit 0