]> source.dussan.org Git - jgit.git/commit
Use submodule name instead of path as key in config 07/110407/4
authorDavid Turner <dturner@twosigma.com>
Thu, 19 Oct 2017 20:58:07 +0000 (16:58 -0400)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 27 Dec 2017 21:55:54 +0000 (22:55 +0100)
commit4bbc74ba407e95954bb444df456d37a21363ce6c
tree886bed2177a029dd83ff0dd2eebccc977f6f5e23
parent658486386648f186ed8ce934e0abf4d999252a67
Use submodule name instead of path as key in config

When a submodule is moved, the "name" field remains the same, while
the "path" field changes.  Git uses the "name" field in .git/config
when a submodule is initialized, so this patch makes JGit do so too.

Change-Id: I48d8e89f706447b860c0162822a8e68170aae42b
Signed-off-by: David Turner <dturner@twosigma.com>
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleInitCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java