diff --git a/lib/functions/compilation/patch/patching.sh b/lib/functions/compilation/patch/patching.sh index a77c4c9f46..ef768da9b5 100644 --- a/lib/functions/compilation/patch/patching.sh +++ b/lib/functions/compilation/patch/patching.sh @@ -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