Commit Briefs

d7b5a0e827 Stefan Sperling

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


a44927cc05 Stefan Sperling

stop relying on commit cache for good performance of got_object_id_by_path()

Instead of internally opening and closing the same commit object over and over again, require callers to pass an open commit object in. Avoids an inherent dependency on the commit object cache for reasonable performance. ok op@


4e91ef1519 Stefan Sperling

make it possible to merge vendor branches with 'got merge'


dbdddfee14 Christian Weisgerber

switch from SIMPLEQ to equivalent STAILQ macros

The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp



5aa813935b Stefan Sperling

add copyright year for files already touched in 2020



e7a5b9e9b7 Stefan Sperling

commit graph's close_branch() can be inlined in one place


df8cd9c6cd Stefan Sperling

small simplification in got_commit_graph_iter_next()


a450c2bf91 Stefan Sperling

remove a misleading comment


48595de13a Stefan Sperling

remove redundant code from add_node_to_iter_list()




7e33c8c53e Stefan Sperling

no need to open a commit in got_commit_graph_iter_start()



14159a7b73 Stefan Sperling

remove unused 'node' parameter from advance_branch()


8e29169599 Stefan Sperling

commit graph's idset data pointers were not actually used



ec1904dc6e Stefan Sperling

fix error in previous commit






2222078154 Stefan Sperling

simplify error handling in got_commit_graph_open()


3ddcebf32f Stefan Sperling

merge alloc_graph() into got_commit_graph_open()