Merge remote-tracking branch 'ignatenkobrain/gh620'

This commit is contained in:
J. David Ibáñez 2016-04-17 20:48:56 +02:00
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)