Commits


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@


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@


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


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


add support for first-parent history traversal to got-read-pack


add copyright year for files already touched in 2020


revert e7a5b9e9b763327a7e1ddd69f6bc533565d60794; it changed blame output


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


small simplification in got_commit_graph_iter_next()


remove a misleading comment


remove redundant code from add_node_to_iter_list()


remove commit graph iter_node pointer; use the iter_list head instead


improve commit graph's error handling of non-existent paths


no need to open a commit in got_commit_graph_iter_start()


simplify got_commit_graph_iter_start(); adding an ID to open_branches suffices