-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: explore gix APIs, experiment with gix-blame API #1453
base: main
Are you sure you want to change the base?
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 48d6050 - Browse repository at this point
Copy the full SHA 48d6050View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c8ff66 - Browse repository at this point
Copy the full SHA 7c8ff66View commit details
Commits on Jul 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4fb06e4 - Browse repository at this point
Copy the full SHA 4fb06e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7031d9e - Browse repository at this point
Copy the full SHA 7031d9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2001525 - Browse repository at this point
Copy the full SHA 2001525View commit details
Commits on Aug 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75ec62a - Browse repository at this point
Copy the full SHA 75ec62aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19710f1 - Browse repository at this point
Copy the full SHA 19710f1View commit details
Commits on Aug 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 301967c - Browse repository at this point
Copy the full SHA 301967cView commit details
Commits on Aug 21, 2024
-
This is not a material change as the loop gets only executed once. It is mostly to keep indentation changes in a separate commit.
Configuration menu - View commit details
-
Copy full SHA for 9c6cf0a - Browse repository at this point
Copy the full SHA 9c6cf0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e21cd - Browse repository at this point
Copy the full SHA 27e21cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cad4df - Browse repository at this point
Copy the full SHA 1cad4dfView commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1c595bc - Browse repository at this point
Copy the full SHA 1c595bcView commit details
Commits on Aug 23, 2024
-
There’s an exit condition `parent_ids.is_empty()` which is sufficient for the first test case.
Configuration menu - View commit details
-
Copy full SHA for 07dba00 - Browse repository at this point
Copy the full SHA 07dba00View commit details -
Move new_lines_to_blame out of closure
Otherwise, diffs with more than one hunk would yield incorrect results.
Configuration menu - View commit details
-
Copy full SHA for e931a65 - Browse repository at this point
Copy the full SHA e931a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for b54ef01 - Browse repository at this point
Copy the full SHA b54ef01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87a7ae5 - Browse repository at this point
Copy the full SHA 87a7ae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08838ed - Browse repository at this point
Copy the full SHA 08838edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f546b - Browse repository at this point
Copy the full SHA 30f546bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f573bef - Browse repository at this point
Copy the full SHA f573befView commit details -
Skip commits that don’t affect file
This required merging the separate setup section into the loop, in order to be able to use `continue` when a diff did not contain changes for the path currently being blamed.
Configuration menu - View commit details
-
Copy full SHA for c54dc04 - Browse repository at this point
Copy the full SHA c54dc04View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca37a03 - Browse repository at this point
Copy the full SHA ca37a03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b1d23 - Browse repository at this point
Copy the full SHA 09b1d23View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 857cbcc - Browse repository at this point
Copy the full SHA 857cbccView commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 30fbb7d - Browse repository at this point
Copy the full SHA 30fbb7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe40f5 - Browse repository at this point
Copy the full SHA cfe40f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f148ac - Browse repository at this point
Copy the full SHA 0f148acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34d7f55 - Browse repository at this point
Copy the full SHA 34d7f55View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1482dc - Browse repository at this point
Copy the full SHA f1482dcView commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed4873d - Browse repository at this point
Copy the full SHA ed4873dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06e3405 - Browse repository at this point
Copy the full SHA 06e3405View commit details
Commits on Aug 28, 2024
-
Split DiffRecorder into ChangeRecorder and process_changes
This is supposed to simplify the algorithm by reducing the state we need to keep track of. We also don’t have to run the `for` loop on every call to `process_change` anymore.
Configuration menu - View commit details
-
Copy full SHA for 2eb1a16 - Browse repository at this point
Copy the full SHA 2eb1a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c35e06 - Browse repository at this point
Copy the full SHA 1c35e06View commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 29c2738 - Browse repository at this point
Copy the full SHA 29c2738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20c43cb - Browse repository at this point
Copy the full SHA 20c43cbView commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d273131 - Browse repository at this point
Copy the full SHA d273131View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a10add - Browse repository at this point
Copy the full SHA 5a10addView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9767ddd - Browse repository at this point
Copy the full SHA 9767dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f973e43 - Browse repository at this point
Copy the full SHA f973e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab69d6b - Browse repository at this point
Copy the full SHA ab69d6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for de3f183 - Browse repository at this point
Copy the full SHA de3f183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ddc883 - Browse repository at this point
Copy the full SHA 1ddc883View commit details
Commits on Aug 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b9b1214 - Browse repository at this point
Copy the full SHA b9b1214View commit details
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6608af5 - Browse repository at this point
Copy the full SHA 6608af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4d42fa - Browse repository at this point
Copy the full SHA e4d42faView commit details
Commits on Sep 4, 2024
-
Add UnblamedHunk to be able to track offset
This is necessary for keeping track of deleted hunks in a file.
Configuration menu - View commit details
-
Copy full SHA for 875e580 - Browse repository at this point
Copy the full SHA 875e580View commit details
Commits on Sep 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 53fbe0c - Browse repository at this point
Copy the full SHA 53fbe0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bddcfd8 - Browse repository at this point
Copy the full SHA bddcfd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70cdb19 - Browse repository at this point
Copy the full SHA 70cdb19View commit details
Commits on Sep 8, 2024
-
Correctly handle non-inclusive end
Make change not a reference to be able to return new, non-reference values from match arms.
Configuration menu - View commit details
-
Copy full SHA for 1f524cb - Browse repository at this point
Copy the full SHA 1f524cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba878b - Browse repository at this point
Copy the full SHA 6ba878bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aa23a2 - Browse repository at this point
Copy the full SHA 6aa23a2View commit details -
Keep two ranges in UnblamedHunk for clarity
Before, the distinction between line numbers in the blamed file vs. line numbers in the file currently being examined was not always clear, particularly not when you were not familiar with how `UnblamedHunk` was supposed to work.
Configuration menu - View commit details
-
Copy full SHA for 82a9aa0 - Browse repository at this point
Copy the full SHA 82a9aa0View commit details -
Better separate offset and offset_in_destination
`offset` is a property of an `UnblamedHunk`. It tells you by how many lines `range_in_destination` and `range_in_blamed_file` have diverged. `offset_in_destination`, on the other hand, keeps track of how many lines have been added in a single iteration of `process_changes`. This value is, at certain points, used as an input to `UnblamedHunk::new`.
Configuration menu - View commit details
-
Copy full SHA for e846264 - Browse repository at this point
Copy the full SHA e846264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3de5028 - Browse repository at this point
Copy the full SHA 3de5028View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125326e - Browse repository at this point
Copy the full SHA 125326eView commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a964579 - Browse repository at this point
Copy the full SHA a964579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125ee47 - Browse repository at this point
Copy the full SHA 125ee47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce6b0c7 - Browse repository at this point
Copy the full SHA ce6b0c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc0359 - Browse repository at this point
Copy the full SHA cfc0359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca85e2 - Browse repository at this point
Copy the full SHA 7ca85e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f747f - Browse repository at this point
Copy the full SHA 01f747fView commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d64fb23 - Browse repository at this point
Copy the full SHA d64fb23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e5f03 - Browse repository at this point
Copy the full SHA 77e5f03View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4b1c509 - Browse repository at this point
Copy the full SHA 4b1c509View commit details -
Configuration menu - View commit details
-
Copy full SHA for e038dad - Browse repository at this point
Copy the full SHA e038dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fa847 - Browse repository at this point
Copy the full SHA 42fa847View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1badf3 - Browse repository at this point
Copy the full SHA c1badf3View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 55a19cf - Browse repository at this point
Copy the full SHA 55a19cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6474729 - Browse repository at this point
Copy the full SHA 6474729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d56db - Browse repository at this point
Copy the full SHA 70d56dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ce6d35 - Browse repository at this point
Copy the full SHA 9ce6d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2cd71b - Browse repository at this point
Copy the full SHA a2cd71bView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for de76eeb - Browse repository at this point
Copy the full SHA de76eebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83a6e03 - Browse repository at this point
Copy the full SHA 83a6e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for b850da5 - Browse repository at this point
Copy the full SHA b850da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6da874 - Browse repository at this point
Copy the full SHA e6da874View commit details -
Add more tests for unchanged lines
Add assertions related to offset
Configuration menu - View commit details
-
Copy full SHA for 6b16568 - Browse repository at this point
Copy the full SHA 6b16568View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7fd0a - Browse repository at this point
Copy the full SHA 7a7fd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6103df - Browse repository at this point
Copy the full SHA e6103dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f0de4b - Browse repository at this point
Copy the full SHA 3f0de4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e5f17 - Browse repository at this point
Copy the full SHA 68e5f17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b7cd03 - Browse repository at this point
Copy the full SHA 0b7cd03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aff3e4 - Browse repository at this point
Copy the full SHA 9aff3e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 362e7e6 - Browse repository at this point
Copy the full SHA 362e7e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5909dc1 - Browse repository at this point
Copy the full SHA 5909dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34530fd - Browse repository at this point
Copy the full SHA 34530fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a8af77 - Browse repository at this point
Copy the full SHA 5a8af77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 060f73d - Browse repository at this point
Copy the full SHA 060f73dView commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3a296e5 - Browse repository at this point
Copy the full SHA 3a296e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb16cc1 - Browse repository at this point
Copy the full SHA bb16cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4191d - Browse repository at this point
Copy the full SHA 1e4191dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 381b673 - Browse repository at this point
Copy the full SHA 381b673View commit details -
Configuration menu - View commit details
-
Copy full SHA for 817b2ce - Browse repository at this point
Copy the full SHA 817b2ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b953eaa - Browse repository at this point
Copy the full SHA b953eaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76b047c - Browse repository at this point
Copy the full SHA 76b047cView commit details
Commits on Sep 20, 2024
-
Don't consume addition preceding unblamed hunk
The addition might match subsequent unblamed hunks.
Configuration menu - View commit details
-
Copy full SHA for 6290e10 - Browse repository at this point
Copy the full SHA 6290e10View commit details -
Don't consume unchanged lines preceding unblamed hunk
The unchanged lines might match subsequent unblamed hunks.
Configuration menu - View commit details
-
Copy full SHA for a93323a - Browse repository at this point
Copy the full SHA a93323aView commit details -
Change offset for changes when there is no hunk
At this point, this is not strictly necessary as the changes to `offset_in_destination` are not read anywhere yet after they are changed in the added branches.
Configuration menu - View commit details
-
Copy full SHA for ca8f9e2 - Browse repository at this point
Copy the full SHA ca8f9e2View commit details -
Don't consume deletion preceding unblamed hunk
The deletion might match subsequent unblamed hunks.
Configuration menu - View commit details
-
Copy full SHA for 025ff2a - Browse repository at this point
Copy the full SHA 025ff2aView commit details -
Don't consume unblamed hunk following deletion
There might be more changes that are supposed to affect the unblamed hunk. The deletion might, for example, be followed by another deletion or by an addition both of which would have an effect on the offset that needs to be applied to the unblamed hunk.
Configuration menu - View commit details
-
Copy full SHA for d053429 - Browse repository at this point
Copy the full SHA d053429View commit details