Skip to content

Commit 636a1e9

Browse files
committed
created script for patching and commiting patches
1 parent 5c7c7ca commit 636a1e9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

patcher

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
for file
4+
do
5+
name=$(echo "$file" | sed "s!.*/!!g" )
6+
(git apply $file && git add . && git commit -m "applied $name") || (git apply $file -3; exit)
7+
done

0 commit comments

Comments
 (0)