From 05fa3f625ee0a2a19e4efd0cc77093ee167d9e1c Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 1 Feb 2020 08:59:41 +0100 Subject: [PATCH] git submodules support --- .config/git/config | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.43.0