ref: ef3df0131aee8f4e68d02da7d9c6037c66bd44e2
dir: /bin/pa4/
#!/bin/rc -e
for(i in $*){
if(! test -f $i){
echo usage: $0 patch..
exit usage
}
h=`{sed 's,--- //.git/fs/.*,git,;q' $i}
p=1
if(~ git $h)
p=0
ape/patch --no-backup-if-mismatch -p$p <$i
}