]> source.dussan.org Git - jgit.git/commit
Support git config [include] section with absolute path(s) 44/72444/5
authorMarco Miller <marco.miller@ericsson.com>
Fri, 6 May 2016 17:18:38 +0000 (13:18 -0400)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 20 May 2016 23:14:06 +0000 (01:14 +0200)
commit1f86350c5a97d8c6966fe1146d649eb5cbc60f53
tree5f440bdc4216044e356d9fba904971f1b469dc08
parentba0dfe1ae2c6d0e3370822eedb0ffd2eeef0d8e2
Support git config [include] section with absolute path(s)

As per [1], but limited to absolute paths indeed. No support yet for
tilde or $HOME expansion. Support for the --[no-]includes options
([1]) is not part of this commit scope either, but those options'
defaults are in effect as described in [1].

[1] https://git-scm.com/docs/git-config

Included path can be a config file that includes other path-s in turn.
An exception is thrown if too many recursions (circular includes)
happen because of ill-specified config files.

Change-Id: I700bd7b7e1625eb7de0180f220c707d8e7b0930b
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/META-INF/MANIFEST.MF
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java