Git: gpa try not to fail.
This commit is contained in:
parent
3031a7b7c1
commit
9946c7341d
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue