mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-14 13:47:06 +02:00
git: Make git diff work with bun.lockb
This commit is contained in:
parent
222c2587fa
commit
4492f2921e
@ -15,10 +15,19 @@ in
|
|||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
attributes = [
|
||||||
|
"*.lockb binary diff=lockb"
|
||||||
|
];
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
include.path = "~/.gituser";
|
include.path = "~/.gituser";
|
||||||
commit.gpgsign = true;
|
commit.gpgsign = true;
|
||||||
|
|
||||||
|
diff.lockb = {
|
||||||
|
textconv = "bun";
|
||||||
|
binary = true;
|
||||||
|
};
|
||||||
|
|
||||||
core = {
|
core = {
|
||||||
editor = "nvim";
|
editor = "nvim";
|
||||||
autocrlf = false;
|
autocrlf = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user