]> source.dussan.org Git - jgit.git/commit
Download pack-*.idx to /tmp if not on local filesystem 46/946/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 Jun 2010 18:30:19 +0000 (11:30 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 26 Jun 2010 00:46:39 +0000 (17:46 -0700)
commitf39c9fc7415c9b74c2c4fc12978d865b03cc330d
tree90bccd20ada4497a15d0f4f8c64962437cb5276b
parent2370ad9514587a354e3a8767d7b10e83587ab9cf
Download pack-*.idx to /tmp if not on local filesystem

If the destination repository doesn't use an ObjectDirectory to
store its objects, we can't download to the object directory.
Instead pull the pack-*.idx files down to temporary files in the
JVM's default temporary directory.

Change-Id: Ied16bc89be624d87110ba42ba52d698a6ea7d982
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkFetchConnection.java