From 2f9ccd100a34a8d1b1bf8f5b0b9f4fed42603956 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 18 Oct 2024 14:18:35 +0300 Subject: [PATCH] Git: gpc add --patch. --- home/program/bash/module/Git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/program/bash/module/Git.nix b/home/program/bash/module/Git.nix index 512684c..4d093d4 100644 --- a/home/program/bash/module/Git.nix +++ b/home/program/bash/module/Git.nix @@ -117,7 +117,7 @@ # Git patch create. # Usage: gpc > function gpc() { - git diff --cached --binary + git diff --staged --patch --binary } # Git patch (apply).