Fix patching.sh to include untracked (new) files in patch

This commit is contained in:
Ian Goodacre
2025-03-20 06:03:06 +00:00
committed by Igor
parent 5e8ab3ae8b
commit 86ea59c378

View File

@@ -181,6 +181,7 @@ function userpatch_create() {
fi
display_alert "OK, here's how your diff looks like" "showing patch diff" "info"
git add -N .
git "${common_git_params[@]}" diff | run_tool_batcat --file-name "${patch}" -
# Prompt the user if he is happy with the patch