Added Hours_Minuts_Seconds to user produced patch in DEBUG mode

This commit is contained in:
Igor Pecovnik 2016-06-17 16:26:28 +02:00
parent 3b1bcc7c09
commit f0110f33fe

View file

@ -397,7 +397,7 @@ userpatch_create()
# create patch out of changes
if ! git diff-index --quiet --cached HEAD; then
#if [[ "$(git status --porcelain)" ]]; then
git diff --staged > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch
git diff --staged > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y_%H_%M_%S').patch
display_alert "You will find your patch here:" "$SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch" "info"
else
display_alert "No changes found, skipping patch creation" "" "wrn"