lib/diff.c


Log

Author Commit Date CI Message
Stefan Sperling 6c4c42e0 2019-06-24T22:28:11 implement search for 'tog blame'
Stefan Sperling aaa13589 2019-06-01T15:25:13 generalize got_diff_tree() by adding a diff output callback
Stefan Sperling 1de5e065 2019-06-01T14:44:21 use got_object_tree_find_entry() instead of local copy in diff.c
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling 049da17d 2019-03-26T10:34:58 use correct diff header label for deletion in got_diff_blob_file()
Stefan Sperling c2ac9456 2019-03-15T16:39:34 add missing 'static' for local functions
Stefan Sperling fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling d1688ce0 2019-02-06T00:08:47 remove a pointless error code
Stefan Sperling b72f483a 2019-02-06T00:04:59 make 'got diff' show local changes in work tree
Stefan Sperling 09de383e 2018-12-24T14:18:21 fix crash in blame since 18f4293943894155d5ccbdb423f1e8a2bb1e1d62
Stefan Sperling 54156555 2018-12-24T10:58:32 undo commit timestamps next to paths in diffs; they are redundant
Stefan Sperling 18f42939 2018-12-24T10:49:42 show blob headers in diffs for added/deleted files
Stefan Sperling adacb96f 2018-12-24T10:39:46 show commit timestamps in diff headers
Stefan Sperling 15a94983 2018-12-23T14:48:47 remove struct got_object from public library API
Stefan Sperling 45d799e2 2018-12-23T12:10:27 make commit objects opaque in the library's API
Stefan Sperling abd2672a 2018-12-23T11:36:31 move commit header printing in diffs out of the library
Stefan Sperling e20293f2 2018-11-17T16:35:27 revert previous; it made a wrong assumption and broke diff
Stefan Sperling 4b917664 2018-11-17T16:34:00 make diff's match_entry_by_name() exit early if possible
Stefan Sperling d6ce02f1 2018-11-17T16:30:29 fix paths in diffs showing newly added trees
Stefan Sperling 19ae6da1 2018-11-05T16:38:08 compare object IDs just once in diff_entry_old_new()
Stefan Sperling ccb26ccd 2018-11-05T16:16:35 avoid a call to mktime() in commit graph's add_node()
Stefan Sperling df2871d2 2018-10-18T11:45:20 make amount of diff context configurable at API level
Stefan Sperling 60f50a58 2018-09-15T15:20:24 don't crash in got_diff_tree() if trees are empty
Stefan Sperling 0dcf3e9c 2018-09-15T10:57:05 tweak log message headers again
Stefan Sperling dab5fe87 2018-09-14T20:22:22 tweak commit display
Stefan Sperling 405a764e 2018-09-14T00:30:38 don't display blob IDs twice when diffing blobs directly
Stefan Sperling 3b8ef1a8 2018-09-14T00:25:13 tweak diff output and adjust test expectations accordingly
Stefan Sperling 8f97f261 2018-09-14T00:13:19 show blob IDs in diffs again and make repository test pass
Stefan Sperling f6861a81 2018-09-13T23:48:14 display file paths in diffs instead of blob SHA1s
Stefan Sperling ede67fd9 2018-07-10T23:32:29 remove empty line from commit diff output
Stefan Sperling 84451b3e 2018-07-10T13:17:00 implement incremental blame display for tog
Stefan Sperling 883f0469 2018-06-23T17:57:39 make struct got_tree_object opaque
Stefan Sperling 404c43c4 2018-06-21T23:22:57 basic 'got blame' implementation
Stefan Sperling 35e9ba5d 2018-06-21T19:41:20 introduce got_object_blob_dump_to_file()
Stefan Sperling 4bb494d5 2018-06-16T19:24:46 display UTC commit timestamps in tog(1)
Stefan Sperling 9fc8d6a2 2018-05-20T15:14:11 check fprintf() return values in got_diff_objects_as_commits()
Stefan Sperling 9b697879 2018-05-20T13:03:52 make got_diff_objects_as_commits() require obj2 parameter
Stefan Sperling bacc9935 2018-05-20T13:02:12 show log message above a diff between commits
Stefan Sperling b74c7625 2018-05-20T12:51:27 make git_diff_object helpers error if both objects are NULL
Stefan Sperling cd0acaa7 2018-05-20T12:37:25 allow switching from log view to diff view in tog
Stefan Sperling 511a516b 2018-05-19T16:57:12 move got_opentmp* functions to public API; used from tog
Stefan Sperling 11528a82 2018-05-19T16:28:32 move common diff helpers from got and tog into lib/diff.c
Stefan Sperling 730a8aa0 2018-04-24T13:49:33 don't override error codes in diff_modified_blob()
Stefan Sperling dfb54902 2018-04-02T11:45:31 wrap long lines
Stefan Sperling 2acfca77 2018-04-01T17:44:32 don't forgot to close blobs after diffing them
Stefan Sperling 84eb021e 2018-03-27T23:18:58 show function prototypes in diff output
Stefan Sperling 07ccb00b 2018-03-27T23:08:07 be careful about NULL trees when diffing entries
Stefan Sperling c2c21d46 2018-03-27T21:56:33 show 3 lines of context in file diffs
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling 25783624 2018-03-12T13:59:29 use stricter CPPFLAGS from mpi
Stefan Sperling 32cb896c 2018-03-11T14:10:56 rename library-private headers from *_priv.h to *_lib.h
Stefan Sperling 1411938b 2018-02-12T23:25:38 rename private header filenames so they are in got_ namespace
Stefan Sperling 59ece79d 2018-02-12T22:13:27 make struct got_object_id opaque
Stefan Sperling f934cf2c 2018-02-12T21:27:40 make struct got_blob_object opaque
Stefan Sperling eba5c6bb 2018-02-12T00:25:40 repair blob diffing
Stefan Sperling 74671950 2018-02-12T00:15:49 add output file argument to got_diff_tree
Stefan Sperling eb651edf 2018-02-11T18:16:43 more progress on reading packed/deltified objects
Stefan Sperling eef6493a 2018-01-19T18:09:29 Make struct got_object opaque to users of the library
Stefan Sperling b107e67f 2018-01-19T18:03:07 Implement open() support for offset delta objects
Stefan Sperling a1fd68d8 2018-01-12T20:59:51 Extract non-deltified objects from pack files.
Stefan Sperling a3e2cbea 2017-12-01T22:09:59 make tree diffing work
Stefan Sperling 98abbc84 2017-11-30T16:18:10 test tree diff (not yet working correctly)
Stefan Sperling 013404a9 2017-11-30T16:04:00 add todo comment
Stefan Sperling 2c56f2ce 2017-11-30T16:03:14 implement diff_deleted_tree
Stefan Sperling 9c70d4c3 2017-11-30T16:02:22 implement diff_added_tree
Stefan Sperling 789689b5 2017-11-30T15:58:34 implement diff_modified_tree
Stefan Sperling c7020aea 2017-11-30T15:49:49 increase buffer sizes for blob diffing
Stefan Sperling 365fb436 2017-11-30T15:48:52 implement diff_deleted_blob
Stefan Sperling a7852263 2017-11-30T15:37:45 handle fdopen() failure in opentemp()
Stefan Sperling cb74ff21 2017-11-30T15:12:45 pass output file to diffreg
Stefan Sperling 6a213ccb 2017-11-30T05:49:52 implement diff_modified_blob
Stefan Sperling 4e22badc 2017-11-30T05:34:24 implement diff_added_blob
Stefan Sperling 0cb61c47 2017-11-30T02:39:35 whitespace
Stefan Sperling f9d67749 2017-11-30T02:38:38 move tempfile creation out of got_diffreg()
Stefan Sperling 413ea19d 2017-11-30T01:44:46 simplify
Stefan Sperling 4209f790 2017-11-30T01:43:44 fix logic error
Stefan Sperling 474b4f94 2017-11-30T01:41:44 add some unimplemented stubs for tree diffing
Stefan Sperling 62136d3a 2017-11-29T23:46:24 allow for custom diff header labels
Stefan Sperling f78b0693 2017-11-29T23:42:16 show blob IDs in diff header
Stefan Sperling 8ba9a219 2017-11-29T23:30:52 remove diff_args from global state as well
Stefan Sperling 1c7f0520 2017-11-29T22:52:00 store stat buffers in diff_state rather than diff_args
Stefan Sperling ed9e98a8 2017-11-29T22:47:05 store global diff state in memory provided by caller
Stefan Sperling 7d283eee 2017-11-29T17:11:11 add and test basic blob diffing functionality