File: uninstall-hooks

package info (click to toggle)
rocsolver 6.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,876 kB
  • sloc: cpp: 151,850; python: 2,275; sh: 875; objc: 642; ansic: 402; makefile: 71; xml: 26
file content (8 lines) | stat: -rwxr-xr-x 162 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

set -eu

hooks_dir="$(git rev-parse --git-path hooks)"

rm --verbose -- "$hooks_dir/post-commit"
rm --verbose -- "$hooks_dir/reformat-files"