summaryrefslogtreecommitdiff
path: root/.quiltrc
blob: 8db85ad70f4a64bfa67e443dc7a61e70c1cf0180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# all from:
# https://raphaelhertzog.com/2012/08/08/how-to-use-quilt-to-manage-patches-in-debian-packages/

# detect Debian quilt patches
for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
    if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
        export QUILT_PATCHES=debian/patches
        break
    fi
done

# generate nicer patches & use colour
QUILT_PUSH_ARGS="--color=auto"
QUILT_DIFF_ARGS="--no-timestamps --no-index -p ab --color=auto"
QUILT_REFRESH_ARGS="--no-timestamps --no-index -p ab"
QUILT_DIFF_OPTS='-p'