guyzmo/git-repo

config wizard does not work if ~/.config/git/config contains include statements

開放

#153 建立於 2017年5月7日

 (5 則留言) (0 個反應) (0 位負責人)Python (91 個分叉)batch import
backlogbughelp wanted

倉庫指標

星標
 (855 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Steps to reproduce:

  • Make sure ~/.git does not exist
  • Create ~/.config/git/config` with a least two includes, like so:
[include]
path = /path/to/1
path = /path/to/2

Run git-repo config, do the oauth dance.

Nothing is stored.

PS: I think this is a bug in the code that reads and writes git config. If I were you, I'll just run git config --get foo.bar and git config --global foo.bar 42 instead of using a re-implementation of git config parsing in Python.

貢獻者指南