diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-06-10 16:59:00 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-06-10 16:59:00 +0200 |
commit | 4a771adc5352dd3876dd2ef3d0c52c8e803fc084 (patch) | |
tree | dca5577bdaa85991d92b9b7e9f6b484837c140ff /git/objects/commit.py | |
parent | 982eefb2008826604d54c1a6622c12240efb0961 (diff) | |
download | gitpython-4a771adc5352dd3876dd2ef3d0c52c8e803fc084.tar.gz |
fix(remote): assert fetch respec is set
It turns out we can't deal do fetches if no refspec is set as git
will change the format of the fetch return values, providing less
information than usual.
A test was added to show that such a case will fail, and an assertion
will assure we don't attempt to fetch/pull if there is no refspec
for 'fetch'.
Closes #296
Diffstat (limited to 'git/objects/commit.py')
0 files changed, 0 insertions, 0 deletions