-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Rewrite compare functions #32786
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
Open
lunny
wants to merge
48
commits into
go-gitea:main
Choose a base branch
from
lunny:lunny/refactor_getpatch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,142
−556
Open
Rewrite compare functions #32786
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
8eb19a5
Refactor GetDiff/Path functions to let it more flexible
lunny 48b5bab
fix conflict
lunny 283c030
Fix bug
lunny f19b4b7
Refactor Parsing compare path parameters
lunny 4ee5334
Refactor all compare routers
lunny 07abd8d
Merge branch 'main' into lunny/refactor_getpatch
lunny 743fa68
make the code simpler
lunny 72f6e28
Merge branch 'main' into lunny/refactor_getpatch
lunny 52639ff
Fix bug
lunny a3eb356
Add rootRepo and ownForkRepo
lunny a2804a5
Merge branch 'main' into lunny/refactor_getpatch
lunny 743cebe
Some improvements
lunny 050fad9
revert change to fork
lunny 95bccdb
remove unnecessary parameter
lunny 91147db
Fix test
lunny 27b6753
Merge branch 'main' into lunny/refactor_getpatch
lunny 92e68ae
Revert changes related to getpatch/getdiff because they are extracted…
lunny b7f2be5
Fix possible bug
lunny 6b3bc6e
Merge branch 'main' into lunny/refactor_getpatch
lunny 831fb56
Add more test
lunny 2461ad0
Merge branch 'main' into lunny/refactor_getpatch
lunny 4579e49
Fix lint
lunny d08942e
Fix lint
lunny 3328679
Fix test
lunny d9bc413
Merge branch 'main' into lunny/refactor_getpatch
lunny 361ca40
Fix fixture
lunny 2b830ee
Fix tests
lunny 453adc2
Fix lint
lunny dfe8cb7
Fix tests
lunny def6e8c
Add a new test compare from base repository to forked reposotry
lunny cf3145a
Some improvements
lunny 3dd9310
Merge branch 'main' into lunny/refactor_getpatch
lunny 62e21e8
Fix empty compare
lunny 0f3893c
Merge branch 'main' into lunny/refactor_getpatch
lunny 217bd84
Merge branch 'main' into lunny/refactor_getpatch
lunny 8112f03
Merge branch 'lunny/refactor_getpatch' of github.com:lunny/gitea into…
lunny 3d7afbd
Merge branch 'main' into lunny/refactor_getpatch
lunny 0d56e58
Fix lint error
lunny e264a3e
Merge branch 'main' into lunny/refactor_getpatch
lunny 1f90568
Fix test
lunny 304d9cd
Merge branch 'main' into lunny/refactor_getpatch
lunny 50c8283
Merge branch 'main' into lunny/refactor_getpatch
lunny 57405c3
Fix build
lunny 6be94a7
Merge branch 'main' into lunny/refactor_getpatch
lunny 919a44d
Merge branch 'main' into lunny/refactor_getpatch
lunny d6e528b
Merge branch 'main' into lunny/refactor_getpatch
lunny f6af188
Fix test
lunny d26712a
Merge branch 'main' into lunny/refactor_getpatch
lunny 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
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.