mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 01:02:19 +00:00
Added Hours_Minuts_Seconds to user produced patch in DEBUG mode
This commit is contained in:
parent
3b1bcc7c09
commit
f0110f33fe
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue