read files included in ~/.gitconfig
commit045f66497c32d1939e5674fbde077a84f4b25dc7
authorNanda Lopes <nandalopes@gmail.com>
Tue, 4 May 2021 00:03:58 +0000 (3 21:03 -0300)
committerNanda Lopes <nandalopes@gmail.com>
Tue, 4 May 2021 00:03:58 +0000 (3 21:03 -0300)
treef5267e0eb0c6051c124590ab3d0131b6a0b4cb70
parent788065628855cb37b4b231efc2727e8d1169c451
read files included in ~/.gitconfig

add `--includes` arg when reading git config

Fix #1136

[From git config
doc](https://git-scm.com/docs/git-config#Documentation/git-config.txt---no-includes):

    --[no-]includes:
    Respect include.* directives in config files when looking up values.
    Defaults to off when a specific file is given (e.g., using --file,
    --global, etc) and on when searching all config files.

Signed-off-by: Nanda Lopes <nandalopes@gmail.com>
cola/gitcfg.py