Git: Use patience for on-screen diffs, minimal for patches and histogram as a default.
This commit is contained in:
parent
46e94916f6
commit
44db743176
|
@ -12,5 +12,6 @@
|
|||
rebase.autoStash = true;
|
||||
safe.directory = "*";
|
||||
user.signingkey = builtins.readFile secret.crypto.sign.git.key;
|
||||
diff.algorithm = "histogram";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -48,12 +48,12 @@
|
|||
|
||||
# Git diff.
|
||||
function gd() {
|
||||
git diff "''${@}"
|
||||
git diff --patience "''${@}"
|
||||
}
|
||||
|
||||
# Git diff added.
|
||||
function gda() {
|
||||
git diff --cached "''${@}"
|
||||
git diff --cached --patience "''${@}"
|
||||
}
|
||||
|
||||
# Git commit.
|
||||
|
|
Loading…
Reference in a new issue