mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-30 18:51:30 +00:00
Revert "Skip creating emty patches in debug mode"
This reverts commit 3eb5b111af
.
This commit is contained in:
parent
3eb5b111af
commit
ae3dcefbc8
1 changed files with 1 additions and 2 deletions
|
@ -407,8 +407,7 @@ userpatch_create()
|
||||||
read -p 'Press <Enter> after you are done with changes to the source'
|
read -p 'Press <Enter> after you are done with changes to the source'
|
||||||
git add .
|
git add .
|
||||||
# create patch out of changes
|
# create patch out of changes
|
||||||
local temp=$(git diff --staged)
|
git diff --staged > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch
|
||||||
[[ -z $TEMP ]] && echo "${temp}" > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch
|
|
||||||
git reset --soft HEAD~
|
git reset --soft HEAD~
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue