]> source.dussan.org Git - jgit.git/commit
Attempt to make git prefix detection more reliable 61/3261/4
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 2 May 2011 20:35:54 +0000 (22:35 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 2 May 2011 20:50:49 +0000 (22:50 +0200)
commitea5df164045c2942a4956b374b1afa4155664f98
tree84fce08b39d0d5771c7bd50d352418d5dca90a0e
parentd05d351f3be5207a168c43b7cc52404195c2d567
Attempt to make git prefix detection more reliable

This fix makes sure the readPipe methods drains the stderr
pipe and close the subprocess' stdin stream before reading
the process outputs.

I never managed to repeat the reported problem myself, so this
may help in diagnosing the probelm on other peoples machines.

Bug: 337533
Change-Id: I299555f09768c34d5868327e574326946ee265e1
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java