config/git/diffr: create separate config
This commit is contained in:
parent
c43e7abada
commit
7741fa0a41
|
@ -1,10 +1,7 @@
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
editor = nvim
|
editor = nvim
|
||||||
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
|
|
||||||
hooksPath = .dev/githooks
|
hooksPath = .dev/githooks
|
||||||
[interactive]
|
|
||||||
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33
|
|
||||||
[submodule]
|
[submodule]
|
||||||
recurse = true
|
recurse = true
|
||||||
[rerere]
|
[rerere]
|
||||||
|
@ -185,5 +182,7 @@
|
||||||
rg = rmgonebranches
|
rg = rmgonebranches
|
||||||
gcr = !git gc && git repack -a -d
|
gcr = !git gc && git repack -a -d
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path= "diffr"
|
||||||
[includeIf "gitdir:yadm/repo.git"]
|
[includeIf "gitdir:yadm/repo.git"]
|
||||||
path = "~/.config/yadm/gitconfig"
|
path = "~/.config/yadm/gitconfig"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[core]
|
||||||
|
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
|
||||||
|
[interactive]
|
||||||
|
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33
|
Loading…
Reference in New Issue