summaryrefslogtreecommitdiff
path: root/tests-clar/diff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-06-19 23:36:36 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-06-19 23:47:17 +0200
commit053b5096680dd9eaeb679f673f5924a05fe514d9 (patch)
tree7e60cfa7885b9390fb41ce6cb6cdf18d7cc69d97 /tests-clar/diff
parent1b0ef5aa03fad68105784d5d4d87592ce005e03a (diff)
downloadlibgit2-053b5096680dd9eaeb679f673f5924a05fe514d9.tar.gz
revparse: handle a non-existent path in the colon syntax
oid_for_tree_path may not always find the path in the tree, in which case we need to return an error. The current code doesn't do this and results in undefined behavior.
Diffstat (limited to 'tests-clar/diff')
0 files changed, 0 insertions, 0 deletions