Git: gpa try not to fail.

This commit is contained in:
Dmitry Voronin 2025-01-09 10:18:20 +03:00
parent 3031a7b7c1
commit 9946c7341d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -140,7 +140,7 @@ function gpc() {
# Git patch apply. # Git patch apply.
# Usage: gpa <FILE> # Usage: gpa <FILE>
function gpa() { function gpa() {
git apply --index "${@}" git apply --reject --whitespace=fix --index "${@}"
} }
# Unstage changes. # Unstage changes.