]> source.dussan.org Git - jgit.git/commit
RepoCommand: Add linkfile support. 97/85097/15
authorDan Willemsen <dwillemsen@google.com>
Tue, 15 Nov 2016 23:33:53 +0000 (15:33 -0800)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 18 Apr 2017 08:33:37 +0000 (10:33 +0200)
commitb6fc8e2f3cb1af6f7cbc624acfac01bec002baf8
tree6a18d9649ea8077628f285b7571663b49d01ea65
parentfac16fe16ac087753b88415e0c8d1ccacba9904a
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>
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandSymlinkTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilsTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/ManifestParser.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java