aboutsummaryrefslogtreecommitdiffstats
path: root/repository/config_mem.go
diff options
context:
space:
mode:
authorSimon Walker <s.r.walker101@googlemail.com>2020-04-11 23:49:01 +0100
committerSimon Walker <s.r.walker101@googlemail.com>2020-04-11 23:49:01 +0100
commite062d9aedfa34077757e6df13bbbbaf9cbb1a2d4 (patch)
tree157a21363674fd304026000c3fb748d5a5412b23 /repository/config_mem.go
parent28c3ee3b7156f90e72a41899d8738d51d9d4eac8 (diff)
downloadgit-bug-e062d9aedfa34077757e6df13bbbbaf9cbb1a2d4.tar.gz
Supports git config includes
I like to have "private" settings in a git include file, and store the main .gitconfig under version control. I do not want any authentication keys or tokens (even if encrypted) in version control, so I have by main .gitconfig include another file which is local and not tracked. The current implementation calls `git config --global --get-regexp <keyPrefix>` and for some reason, this command does not follow git include files. The changes suggested in this PR add the `--includes` flag to the command, which then reads any included files.
Diffstat (limited to 'repository/config_mem.go')
0 files changed, 0 insertions, 0 deletions