summaryrefslogtreecommitdiff
path: root/git/objects/commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-06-10 16:59:00 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-06-10 16:59:00 +0200
commit4a771adc5352dd3876dd2ef3d0c52c8e803fc084 (patch)
treedca5577bdaa85991d92b9b7e9f6b484837c140ff /git/objects/commit.py
parent982eefb2008826604d54c1a6622c12240efb0961 (diff)
downloadgitpython-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