From ae3dcefbc8fd4c01e1f68f95348635739d3cd09b Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Tue, 14 Jun 2016 13:25:41 +0200 Subject: [PATCH] Revert "Skip creating emty patches in debug mode" This reverts commit 3eb5b111afffccc8b554ce64122e2aace481716c. --- common.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 0a4525c40..07ecae4b7 100644 --- a/common.sh +++ b/common.sh @@ -407,8 +407,7 @@ userpatch_create() read -p 'Press after you are done with changes to the source' git add . # create patch out of changes - local temp=$(git diff --staged) - [[ -z $TEMP ]] && echo "${temp}" > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch + git diff --staged > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch git reset --soft HEAD~ fi }