10 lines
172 B
Text
Executable file
10 lines
172 B
Text
Executable file
#/bin/sh
|
|
|
|
mkdir patches/
|
|
|
|
count="1"
|
|
for i in $(git-rev-list HEAD ^ORIG_HEAD | tac)
|
|
do
|
|
git-diff-tree --pretty -p ${i} > patches/$count.diff
|
|
count=$(($count + 1))
|
|
done
|