Skip to content

Changes

Summary

  1. RepoCommand: Add linkfile support. (details)
Commit b6fc8e2f3cb1af6f7cbc624acfac01bec002baf8 by David Pursehouse
RepoCommand: Add linkfile support.

Android wants them to work, and we're only interested in them for bare
repos, so add them just for that.

Make sure to use symlinks instead of just using the copyfile
implementation. Some scripts look up where they're actually located in
order to find related files, so they need the link back to their
project.

Change-Id: I929b69b2505f03036f69e25a55daf93842871f30
Signed-off-by: Dan Willemsen <dwillemsen@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Jeff Gaston <jeffrygaston@google.com>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
The file was modified org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilsTest.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
The file was addedorg.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandSymlinkTest.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/ManifestParser.java
The file was modified org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java