-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality #18004
Merged
6543
merged 9 commits into
go-gitea:main
from
zeripath:update-TestPatch-to-use-read-tree
Dec 19, 2021
Merged
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality #18004
6543
merged 9 commits into
go-gitea:main
from
zeripath:update-TestPatch-to-use-read-tree
Dec 19, 2021
Commits on Dec 16, 2021
-
Improve TestPatch to use git read-tree -m
The current TestPatch conflict code uses a plain git apply which does not properly account for 3-way merging. However, we can improve things using `git read-tree -m` to do a three-way merge. We can also use `--patience` to generate a nicer diff for applying patches too. Fix go-gitea#13679 Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for b23c35b - Browse repository at this point
Copy the full SHA b23c35bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f65bf9 - Browse repository at this point
Copy the full SHA 2f65bf9View commit details
Commits on Dec 17, 2021
-
Implement the git-merge-one-file algorithm
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 46bcf3e - Browse repository at this point
Copy the full SHA 46bcf3eView commit details -
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for cb4e9e1 - Browse repository at this point
Copy the full SHA cb4e9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507ede4 - Browse repository at this point
Copy the full SHA 507ede4View commit details -
use errConflict instead callback
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 7a523dd - Browse repository at this point
Copy the full SHA 7a523ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8193743 - Browse repository at this point
Copy the full SHA 8193743View commit details
Commits on Dec 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 70b0018 - Browse repository at this point
Copy the full SHA 70b0018View commit details
Commits on Dec 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 490e958 - Browse repository at this point
Copy the full SHA 490e958View commit details
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.