diff options
author | Jonathan Nieder <jrn@google.com> | 2013-06-06 18:39:04 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2013-06-06 18:39:04 -0700 |
commit | 56cb2d925c93eadf03a551a2f40bbc9cb2b3241a (patch) | |
tree | b42ae518cd96c0342b85f3313b744a50ddd47156 /org.eclipse.jgit.archive/.classpath | |
parent | ebfe85d0374aee1992d01029c12338da3d67e26b (diff) | |
download | jgit-56cb2d925c93eadf03a551a2f40bbc9cb2b3241a.tar.gz jgit-56cb2d925c93eadf03a551a2f40bbc9cb2b3241a.zip |
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
Diffstat (limited to 'org.eclipse.jgit.archive/.classpath')
0 files changed, 0 insertions, 0 deletions