Run local git-upload-pack directly in the source repository
commit196c4d564b27d5b60883d55505beda0be12ebd8b
authorShawn O. Pearce <spearce@spearce.org>
Tue, 8 Apr 2008 06:25:17 +0000 (8 02:25 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 8 Apr 2008 07:26:07 +0000 (8 03:26 -0400)
treecfd2ab36db9205d78972d2eef06146cf9b96eea1
parentdfc633da19cef83cd15c489fef847ba3959a2ced
Run local git-upload-pack directly in the source repository

git-daemon actually cd's into the repository, then runs
`git-upload-pack .` as the upload-pack program does not
require a temporary working directory to perform its work.

We can emulate the same behavior, escaping the File from
evaulation by the user's shell, and while maintaining the
java.io.File standard interface for path names.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/wizards/GitCloneWizard.java
org.spearce.jgit.test/tst/org/spearce/jgit/fetch/FetchTest.java
org.spearce.jgit/src/org/spearce/jgit/fetch/LocalGitProtocolFetchClient.java