-
Notifications
You must be signed in to change notification settings - Fork 7
Issue 47 #50
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
Merged
Issue 47 #50
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1bfa44d
fix: remove brackets around single words in boolean abstraction
pmbittner e621d82
fix: disallow pure whitespace formulas
pmbittner f9ce4d8
fix: check that if and elif always have a formula upon assertConsiste…
pmbittner 9593879
feat: convencience constructors for commits and patches from repos
pmbittner 6e89cbf
feat: instance of GitPatch that only serves as a reference
pmbittner 30758dc
feat: convenience constructor for DatasetDescription
pmbittner 9533728
feat: test case covering the bug found by TheBormann
pmbittner f8258dc
Merge branch 'develop' into issue47
pmbittner b4389b2
Do not accept any empty annotations
ibbem 5e47940
Make `BooleanAbstraction` deterministic
ibbem 391ece1
Add missing operators in BooleanAbstraction
ibbem e0124a3
Do not get confused by macros with the name "ifndef"
ibbem 2a21846
Correctly replace the `defined` operator
ibbem 36bf3e0
Replace parentheses around already abstracted formulas
ibbem 608c5f4
Do not match C-style comments greedily
ibbem 1d15d54
Check for the absence of feature mappings
ibbem e69d39b
Don't let `PatchReference` implement `GitPatch`
ibbem d6e69a5
Fix two resource leaks (`RevWalk` has to be closed)
ibbem 177562c
Move a method for creating a patch from a hash to `GitDiffer`
ibbem 4199b47
Merge branch 'VariationSync/develop' into issue47
ibbem 67abb8e
Fix the annotation parser for unary minus and plus
ibbem e52b2cd
Replace tests for parsing conditional macros
ibbem 88a4faa
Use `True` as default feature mapping for `DiffNode.fromID`
ibbem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
17 changes: 17 additions & 0 deletions
17
src/main/java/org/variantsync/diffdetective/diff/PatchReference.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| package org.variantsync.diffdetective.diff; | ||
|
|
||
| /** | ||
| * A unique reference to a diff of a file (patch) within an unspecified repository. | ||
| * | ||
| * @param getFileName the name of the file which was modified | ||
| * @param getCommitHash the id of the state after the edit | ||
| * @param getParentCommitHash the id of the state before the edit | ||
| * | ||
| * @author Paul Bittner, Benjamin Moosherr | ||
| */ | ||
| public record PatchReference( | ||
| String getFileName, | ||
| String getCommitHash, | ||
| String getParentCommitHash | ||
| ) { | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.