git/import: use patch(1)
we have a new, pretty patch(1), lets use it.
This commit is contained in:
parent
5d37407e3c
commit
926be5e34e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ fn apply @{
|
|||
rc -c '
|
||||
echo applying $msg | sed 1q
|
||||
date=`{seconds $date}
|
||||
if(! files=`$nl{ape/patch -Ep1 < $diffpath | grep ''^patching file'' | sed ''s/^patching file `(.*)''''/\1/''})
|
||||
if(! files=`$nl{patch -p1 < $diffpath})
|
||||
die ''patch failed''
|
||||
for(f in $files){
|
||||
if(test -e $f)
|
||||
|
|
Loading…
Reference in a new issue