From d51cf9d5e1676d59ad771a43fcff62ad847cd9ce Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 9 May 2022 16:07:02 +0200 Subject: [PATCH] git: Set some `fetch` options Use [compact output][1]: > In compact output mode, specified with configuration variable > fetch.output, if either entire or is found in the other > string, it will be substituted with * in the other string. For > example, master -> origin/master becomes master -> origin/*. Automatically prune branches and tags. Set parallelization to use a value set by git as otherwise it defaults to 1. [1]: git-fetch(1) --- .config/git/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/git/config b/.config/git/config index 66999f5..6bce376 100644 --- a/.config/git/config +++ b/.config/git/config @@ -35,6 +35,11 @@ tool = nvimdiff [difftool "meld"] path = /usr/bin/meld +[fetch] + output = compact + prune = true + pruneTags = true + parallel = 0 [gpg] program = gpg.loopback [init]