jgit/org.eclipse.jgit.pgm
Robin Rosenberg 9e36b173a5 pgm: Attempt to detect a broken pipe and exit silently
When piping output to another program, the other pipe may exit
before we are done. An example is "jgit log|head". The result is
that errno get set to EPIPE. Unfortunately Java does not have
specific exception for this so we have to look at the exception
message and hope that the number of variants are small.

The detection here seem to work on Windows, Linux and OS X and it
seems the message is usually not localized.

Change-Id: Id6968ea7a53ae27ba5496303f1a479e41e41fdcc
2013-01-07 01:05:10 +01:00
..
.settings Harmonize the JDT settings within JGit 2012-11-16 10:25:45 -08:00
META-INF Add org.eclipse.jgit.pgm.Reset to commands catalog 2012-12-22 13:01:22 +01:00
resources/org/eclipse/jgit/pgm archive: Add tar support 2012-12-04 15:37:42 -08:00
src/org/eclipse/jgit/pgm pgm: Attempt to detect a broken pipe and exit silently 2013-01-07 01:05:10 +01:00
.classpath Externalize strings from JGit 2010-05-19 14:37:16 -07:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
about.html Add missing about.html files to all shipped bundles 2011-06-08 21:51:51 +02:00
build.properties Add missing about.html files to all shipped bundles 2011-06-08 21:51:51 +02:00
jgit.sh Force jgit.sh to use UTF-8 encoding on Mac 2011-12-07 00:44:46 +01:00
plugin.properties Remove incubation marker 2011-05-31 22:53:53 +02:00
pom.xml Prepare 2.3.0 builds 2012-12-21 00:48:45 +01:00