From: Jannik ZANDER Date: Sat, 1 Feb 2020 07:59:41 +0000 (+0100) Subject: git submodules support X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=05fa3f625ee0a2a19e4efd0cc77093ee167d9e1c;p=dotfiles.git git submodules support --- diff --git a/.config/git/config b/.config/git/config index 2854fb5..a868be1 100644 --- a/.config/git/config +++ b/.config/git/config @@ -19,8 +19,10 @@ rebase = true [push] default = simple + recurseSubmodules = check [diff] tool = vimdiff + submodule = log [merge] tool = vimdiff [difftool "vimdiff"] @@ -108,7 +110,12 @@ gtags = "!sh -c '[ -f .git/hooks/gtags ] || git init; .git/hooks/gtags' git-gtags" cscope = "!sh -c '[ -f .git/hooks/cscope ] || git init; .git/hooks/cscope' git-cscope" + sdiff = !git diff && git submodule foreach 'git diff' [include] path = ~/.gitconfig.local [gc] writeCommitGraph = true +[status] + submodulesummary = 1 +[submodule] + recurse = true