|
|
@ -475,6 +475,7 @@ public class ArchiveCommand extends GitCommand<OutputStream> { |
|
|
|
* Set an optional parameter path. without an optional path parameter, all |
|
|
|
* Set an optional parameter path. without an optional path parameter, all |
|
|
|
* files and subdirectories of the current working directory are included in |
|
|
|
* files and subdirectories of the current working directory are included in |
|
|
|
* the archive. If one or more paths are specified, only these are included. |
|
|
|
* the archive. If one or more paths are specified, only these are included. |
|
|
|
|
|
|
|
* |
|
|
|
* @param paths |
|
|
|
* @param paths |
|
|
|
* file names (e.g <code>file1.c</code>) or directory names (e.g. |
|
|
|
* file names (e.g <code>file1.c</code>) or directory names (e.g. |
|
|
|
* <code>dir</code> to add <code>dir/file1</code> and |
|
|
|
* <code>dir</code> to add <code>dir/file1</code> and |
|
|
@ -482,6 +483,7 @@ public class ArchiveCommand extends GitCommand<OutputStream> { |
|
|
|
* the directory, recursively. Fileglobs (e.g. *.c) are not yet |
|
|
|
* the directory, recursively. Fileglobs (e.g. *.c) are not yet |
|
|
|
* supported. |
|
|
|
* supported. |
|
|
|
* @return this |
|
|
|
* @return this |
|
|
|
|
|
|
|
* @since 3.4 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public ArchiveCommand setPaths(String... paths) { |
|
|
|
public ArchiveCommand setPaths(String... paths) { |
|
|
|
this.paths = Arrays.asList(paths); |
|
|
|
this.paths = Arrays.asList(paths); |
|
|
|