Commit ce2e82694a19b9994acaa9376bff81bc8e968637

Carlos Martín Nieto 2014-04-08T16:52:20

graph: handle not finding a merge base gracefully git_merge_base() returns GIT_ENOTFOUND when it cannot find a merge base. graph_desdendant_of() returns a boolean value (barring any errors), so it needs to catch the NOTFOUND return value and convert it into false, as not merge base means it cannot be a descendant.