5 years ago Stefan Sperling
make advance_branch() search the smaller id set first
remove unnecessary graph search in advance_branch()
whitespace
rename got_commit_graph_node's commit_timestamp to timestamp
remove some unused cruft from commit graph
if-return-early instead of if-else in detect_changed_path()
don't open tree unnecessarily in detect_changed_path()
remove unreachable code
add_node() must remove freed nodes from graph in error path
don't add duplicates to commit graph's open branches set
fix comparison of parents content in advance_branch()
plug memory leaks in advance_branch()
add custom error code for 'no such tree entry' errors
introduce got errors with custom messages; add one for ERR_NO_OBJ
prevent free of bogus pointers via fetch_commits_from_open_branches()