Merge remote-tracking branch 'ignatenkobrain/gh620'
This commit is contained in:
commit
d8fd2e78d8
@ -800,7 +800,7 @@ class Repository(_Repository):
|
||||
info.uname = info.gname = 'root' # just because git does this
|
||||
if entry.mode == GIT_FILEMODE_LINK:
|
||||
info.type = tarfile.SYMTYPE
|
||||
info.linkname = content
|
||||
info.linkname = content.decode("utf-8")
|
||||
info.mode = 0o777 # symlinks get placeholder
|
||||
info.size = 0
|
||||
archive.addfile(info)
|
||||
|
Loading…
x
Reference in New Issue
Block a user