Git: Add --index to gp.

This commit is contained in:
Dmitry Voronin 2024-10-18 14:30:53 +03:00
parent 2f9ccd100a
commit 1ed85b0f0f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -123,7 +123,7 @@
# Git patch (apply). # Git patch (apply).
# Usage: gp <FILE> # Usage: gp <FILE>
function gp() { function gp() {
git apply "''${@}" git apply --index "''${@}"
} }
# Run git garbage collection. # Run git garbage collection.