Exclude submodules from zip downloads (issue-151)
| | |
| | |
|
| | | #### fixes
|
| | |
|
| | | - Exclude submodules from zip downloads (issue 151)
|
| | | - Fixed bug where repository ownership was not updated on rename user
|
| | | - Fixed bug in create/rename repository if you explicitly specified the alias for the root group (e.g. main/myrepo) (issue 143)
|
| | | - Wrapped Markdown parser with improved exception handler (issue 142)
|
| | |
| | | }
|
| | | tw.setRecursive(true);
|
| | | while (tw.next()) {
|
| | | if (tw.getFileMode(0) == FileMode.GITLINK) {
|
| | | continue;
|
| | | }
|
| | | ZipEntry entry = new ZipEntry(tw.getPathString());
|
| | | entry.setSize(tw.getObjectReader().getObjectSize(tw.getObjectId(0),
|
| | | Constants.OBJ_BLOB));
|