Update create_patch.sh

just some added options that I prefer
This commit is contained in:
$4Y$ 2020-10-27 00:26:26 -04:00
parent aaf0b80ef8
commit fd67b77db1

View file

@ -20,6 +20,6 @@ fi
# 'git diff' is stupid and doesn't show new untracked files, so we must add them first. # 'git diff' is stupid and doesn't show new untracked files, so we must add them first.
git add . git add .
# Generate the patch. # Generate the patch.
git diff -p --staged > "$1" git diff -p --unified=2 --minimal --staged > "$1"
# Undo the 'git add'. # Undo the 'git add'.
git reset git reset