blob: eaa36c973152d6431ad2721f24c2f18e6725ae9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
set -eu
if [ -e "$(git root)/.git/branchless" ]; then
exec git branchless record "$@"
else
if [ "${1:-}" = "-i" ]; then
git add -p
else
git add -u
fi
git commit
fi
|