Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Specifying http.sslVerify from a Configuration File or in the Runtime

On Wed, Apr 17, 2013 at 9:29 AM, Alex Blewitt <alex.blewitt@xxxxxxxxx> wrote:
On 17 Apr 2013, at 03:51, Isuru Haththotuwa <isurulucky@xxxxxxxxx> wrote:

Hi, any idea on this? So does JGit only look at pre-defined set of config files as I observed?

This is the standard set of lookup paths for Git configuration files:


You may find that setting GIT_CONFIG to point to a file will modify the location for the per-repository lookup; I don't know whether it works in jgit or not as I haven't tested it. 

Alex 

Looking at the source of FileBasedRepository, it doesn't seem that it will take into account the GIT_CONFIG environment variable:


If you're interested in filing a bug and/or providing a patch I'm sure this could be merged in for the future.

Alex

Back to the top