Git : Do not write git patch to file by default.

This commit is contained in:
Dmitry Voronin 2024-09-15 18:49:03 +03:00
parent d91f3f33d0
commit 1ae14388c2
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -107,9 +107,9 @@
} }
# Git patch create. # Git patch create.
# Usage: gpc <FILE> # Usage: gpc > <FILE>
function gpc() { function gpc() {
git diff --cached --binary > "''${@}" git diff --cached --binary
} }
# Git patch (apply). # Git patch (apply).