aboutsummaryrefslogtreecommitdiff
path: root/home/.gitconfig
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-08-08 20:47:26 -0700
committerJakob Odersky <jakob@odersky.com>2017-08-08 20:47:26 -0700
commitf8a6109237d4bd15876bc60ee25f1a201f05b7b3 (patch)
treef44e6a8eb493088f2201669f98d73b219dda9e21 /home/.gitconfig
parentc4783b8eec1212aef8d0477cb41d0310a4aefa23 (diff)
downloaddotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.gz
dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.bz2
dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.zip
Setup git conditional includes
Diffstat (limited to 'home/.gitconfig')
-rw-r--r--home/.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/.gitconfig b/home/.gitconfig
index c651d9a..480c29e 100644
--- a/home/.gitconfig
+++ b/home/.gitconfig
@@ -14,6 +14,8 @@
[core]
editor = emacsclient --alternate-editor='' --tty
excludesfile = ~/.gitignore_global
+[includeIf "gitdir:~/src/driver/"]
+ path = .gitconfig_driver
[credential "https://git-wip-us.apache.org"]
username = jodersky
helper = "!f() { echo password=$(pass sites/apache.org); }; f" \ No newline at end of file