gitmodules
niklasf opened this issue · 2 comments
niklasf commented
Hello.
I encountered this problem, since I added a submodule to a repository.
niklas@ubuntu:~/Repositories/consolero$ git ftp
INFO: Using .git/ftpdata
INFO: Uploading /2011/.gitmodules
Traceback (most recent call last):
File "/usr/bin/git-ftp", line 270, in <module>
main()
File "/usr/bin/git-ftp", line 82, in main
upload_diff(repo.git.diff("--name-status", hash, commit.hexsha).split("\n"), tree, ftp, base)
File "/usr/bin/git-ftp", line 261, in upload_diff
assert isinstance(node, Blob)
AssertionError
I'm eventually going to have a look at it, but since I don't have time to do it currently, I just wanted to let you know.
-- Kind regards, Niklas
ezyang commented
Hmm, yeah, there's no code to deal with submodules right now. So... feature request.
ezyang commented
Fixed, thanks to the great work of niklasf.