jgit/org.eclipse.jgit.archive
Jonathan Nieder 56cb2d925c Pick default archive format based on filename suffix
Introduce a setFilename() method for ArchiveCommand so callers can
specify the intended filename of the produced archive.  If the
filename ends with .tar, the format will default to tar; if .zip, zip;
if .tar.gz, gzip-compressed tar; and so on.

This doesn't affect "jgit archive" because it doesn't support the
--output=<file> option yet.  A later patch might do that.

Change-Id: Ic0236a70f7aa7f2271c3ef11083b21ee986b4df5
2013-06-06 18:39:04 -07:00
..
.settings Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
META-INF Add long filename, large file, and non-ASCII filename support to TarFormat 2013-06-06 12:31:46 -07:00
src/org/eclipse/jgit/archive Pick default archive format based on filename suffix 2013-06-06 18:39:04 -07:00
.classpath Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
.gitignore Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
.project Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
about.html Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
build.properties Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
plugin.properties Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00
pom.xml Move ArchiveCommand into standard porcelain API 2013-05-24 17:30:18 -07:00