Use git-am to apply monado patches
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -d ".git" ] ; then
|
||||
git config user.email > /dev/null || git config user.email "git-am@invalid"
|
||||
git config user.name > /dev/null || git config user.name "no name"
|
||||
git checkout .
|
||||
exec git am "$@"/*
|
||||
fi
|
||||
|
||||
# There is no reliable way to apply a patch and succeed if it was
|
||||
# already applied. Just ignore errors...
|
||||
for f in "$@"/* ; do
|
||||
|
||||
Reference in New Issue
Block a user