diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-15 18:05:48 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-15 18:05:48 +0100 |
commit | 26fc5866f6ed994f3b9d859a3255b10d04ee653d (patch) | |
tree | 7d6b4ed1befafca80f8eca9304ed1b637521b877 /git/objects/commit.py | |
parent | 508807e59ce9d6c3574d314d502e82238e3e606c (diff) | |
download | gitpython-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/objects/commit.py')
0 files changed, 0 insertions, 0 deletions