-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate_patches.py: Add unidiff() to GitRepo
This method is copied from utils.git module in ncusi/MSR_Challenge_2024 https://github.com/ncusi/MSR_Challenge_2024/blob/main/src/utils/git.py It is a start of series of revisions that would introduce API for generating the diff annotation processing pipeline. The GitRepo class will be able to generate list of unidiff.PatchSets, and pass it to annotation process, instead of having to save patches to disk.
- Loading branch information
Showing
1 changed file
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters