summaryrefslogtreecommitdiff
path: root/tests/diff/patch.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2013-04-16 00:11:59 +0200
committerCarlos Martín Nieto <cmn@elego.de>2013-04-16 00:11:59 +0200
commit404eadb089f5757842d2703ab1de849dd1f79a24 (patch)
treeaea0df5db615724227e0bda375a48f94762142be /tests/diff/patch.c
parent67ba7d2031f1eef63d66db6ce3ecaceddb06a4f3 (diff)
downloadlibgit2-404eadb089f5757842d2703ab1de849dd1f79a24.tar.gz
remote: don't try to update FETCH_HEAD if no extra heads exist
Don't try to update anything if there are no heads to update. This saves us from trying to look into a fetch refspec when there is none. A better fix for compatibility with git when using remotes without refspecs is still needed, but this stops us from segfaulting.
Diffstat (limited to 'tests/diff/patch.c')
0 files changed, 0 insertions, 0 deletions