summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-15 18:05:48 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-15 18:05:48 +0100
commit26fc5866f6ed994f3b9d859a3255b10d04ee653d (patch)
tree7d6b4ed1befafca80f8eca9304ed1b637521b877 /git/remote.py
parent508807e59ce9d6c3574d314d502e82238e3e606c (diff)
downloadgitpython-26fc5866f6ed994f3b9d859a3255b10d04ee653d.tar.gz
Verified that it apparently is impossible to add empty submodules using git-python.
This is the case with `git submodule add` as well. This makes sense as an empty git repository doesn't have a commit, which needs to be specified as SHA in the parent repositories tree entry for the respective submodule. When manually adding the empty submodule to the .gitmodules file, git-python will throw another error related to the inability to find the submodule in the index. Even if an iteration would be possible, git-python would now throw a BadName exception, which clearly indicates that the 'HEAD' revision is invalid (as it doesn't point to any commit). Fixes #152 Fixes #105
Diffstat (limited to 'git/remote.py')
0 files changed, 0 insertions, 0 deletions