File: pre-push

package info (click to toggle)
zplug 2.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,068 kB
  • sloc: sh: 1,504; awk: 235; makefile: 26
file content (9 lines) | stat: -rw-r--r-- 121 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash

if git diff --exit-code --check master..origin/master; then
    # the same
    exit 0
fi

make test
exit $?