summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-09-30 18:35:33 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-10-01 00:41:09 +0200
commita28889198cf9565944aa0ff983459c6bf6eec311 (patch)
treee4d3422690b3380e400e812a2a9062b69eaf1880 /include/git2/commit.h
parentccc9872d4df7ca6cd44f777c0600c4b1fab0f9e6 (diff)
downloadlibgit2-a28889198cf9565944aa0ff983459c6bf6eec311.tar.gz
local transport: don't segfault on wrong URL
memset the structure on initialisation and don't try to dereference the vector with the heads if we didn't find a repository. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions