Affected Version:v1.12.32
Environment:
Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64)
git version 1.8.3.2
I have a demand about the repo which the default configfile is '~/.gitconfig'
that is add a opption to choose the suitable configfile.
Because sometimes we need to download the whole latest code from the gerrit
that we must choose the protocol of ssh, and sometimes we need to use the
protocol of http that can lighten the load of the gerrit.
The source in the git_config.py is as followings:
def ForUser(cls):
if cls._ForUser is None:
cls._ForUser = cls(configfile = os.path.expanduser('~/.gitconfig'))
return cls._ForUser
Original issue reported on code.google.com by xiuyun...@hisilicon.com on 28 Nov 2015 at 6:11
Original issue reported on code.google.com by
xiuyun...@hisilicon.com
on 28 Nov 2015 at 6:11