File: pre-commit

package info (click to toggle)
firehol 3.1.8%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,920 kB
  • sloc: sh: 21,869; makefile: 834; perl: 756; sed: 12
file content (7 lines) | stat: -rwxr-xr-x 119 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh
if [ -x ./packaging/check-files ]
then
  exec git diff --cached | ./packaging/check-files -
else
  exit 0
fi