mirror of
https://github.com/s4Ys369/CHEATERex.git
synced 2025-01-22 15:43:25 -05:00
Update create_patch.sh
just some added options that I prefer
This commit is contained in:
parent
aaf0b80ef8
commit
fd67b77db1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue