Commits


move commit header printing in diffs out of the library


show diffed commit IDs in 'got log -p' output


show IDs of commits being compared in 'got diff'


undo previous; indentation is enough to avoid parsing problems


make 'got log' show the number of lines in a log message


stop history traversal once blame has annotated all lines


store number of lines in int instead of size_t


don't abort blame in annotate_line() if lines are out of range


make advance_branch() search the smaller id set first


remove unnecessary graph search in advance_branch()


whitespace


eliminate strlen() in got_object_id_by_path()


eliminate strlen() call in got_object_tree_path_changed()


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()


revert previous; it made a wrong assumption and broke diff


make diff's match_entry_by_name() exit early if possible


fix paths in diffs showing newly added trees