Show More
@@ -1241,7 +1241,10 b' class GitRemote(RemoteBase):' | |||||
1241 | file_path = fn.path |
|
1241 | file_path = fn.path | |
1242 | mode = fn.mode |
|
1242 | mode = fn.mode | |
1243 | is_link = stat.S_ISLNK(mode) |
|
1243 | is_link = stat.S_ISLNK(mode) | |
1244 | yield ArchiveNode(file_path, mode, is_link, repo[fn.id].read_raw) |
|
1244 | if mode == pygit2.GIT_FILEMODE_COMMIT: | |
|
1245 | log.debug('Skipping path %s as a commit node', file_path) | |||
|
1246 | continue | |||
|
1247 | yield ArchiveNode(file_path, mode, is_link, repo[fn.hex].read_raw) | |||
1245 |
|
1248 | |||
1246 | return archive_repo(file_walker, archive_dest_path, kind, mtime, archive_at_path, |
|
1249 | return archive_repo(file_walker, archive_dest_path, kind, mtime, archive_at_path, | |
1247 | archive_dir_name, commit_id) |
|
1250 | archive_dir_name, commit_id) |
General Comments 0
You need to be logged in to leave comments.
Login now