-
- Downloads
RepoCommand: Copy manifest upstream into .gitmodules ref field
Project entries in the manifest with a specific sha1 as revision can use the "upstream" field to report the ref pointing to that sha1. This information is very valuable for downstream tools, as they can limit their search for a blob to the relevant ref, but it gets lost in the translation to .gitmodules. Save the value of the upstream field when available/relevant in the ref field of the .gitmodules entry. Change-Id: I14a2395925618d5e6b34be85466e32f5ef8fbf6e (cherry picked from commit 48465f84)
Showing
- org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/BareSuperprojectWriterTest.java 45 additions, 0 deletions.../org/eclipse/jgit/gitrepo/BareSuperprojectWriterTest.java
- org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java 88 additions, 0 deletions...it.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java
- org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/BareSuperprojectWriter.java 3 additions, 0 deletions.../src/org/eclipse/jgit/gitrepo/BareSuperprojectWriter.java
- org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java 1 addition, 0 deletions...clipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
Loading
Please register or sign in to comment