-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add apply-patch, basic revert and cherry-pick functionality #17902
Commits on Dec 3, 2021
-
This code adds a simple endpoint to apply patches to repositories and branches on gitea. Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 13ba415 - Browse repository at this point
Copy the full SHA 13ba415View commit details
Commits on Dec 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d477e5a - Browse repository at this point
Copy the full SHA d477e5aView commit details
Commits on Dec 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c3326b2 - Browse repository at this point
Copy the full SHA c3326b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c01fd - Browse repository at this point
Copy the full SHA f2c01fdView commit details
Commits on Dec 6, 2021
-
Update templates/repo/editor/patch.tmpl
Co-authored-by: silverwind <me@silverwind.io>
Configuration menu - View commit details
-
Copy full SHA for d4a4f1f - Browse repository at this point
Copy the full SHA d4a4f1fView commit details
Commits on Dec 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8d9a6df - Browse repository at this point
Copy the full SHA 8d9a6dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0fc943 - Browse repository at this point
Copy the full SHA d0fc943View commit details
Commits on Dec 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ea9f569 - Browse repository at this point
Copy the full SHA ea9f569View commit details -
Configuration menu - View commit details
-
Copy full SHA for c767f86 - Browse repository at this point
Copy the full SHA c767f86View commit details
Commits on Dec 12, 2021
-
Add basic cherry-pick and revert functionality
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 6ac0064 - Browse repository at this point
Copy the full SHA 6ac0064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b3cdba - Browse repository at this point
Copy the full SHA 8b3cdbaView commit details
Commits on Dec 15, 2021
-
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 2527d2d - Browse repository at this point
Copy the full SHA 2527d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 427e99c - Browse repository at this point
Copy the full SHA 427e99cView commit details
Commits on Dec 16, 2021
-
Use git read-tree -m for better cherry-picking and reversion first
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 20b6b1e - Browse repository at this point
Copy the full SHA 20b6b1eView commit details -
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 0a38bd1 - Browse repository at this point
Copy the full SHA 0a38bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8193743 - Browse repository at this point
Copy the full SHA 8193743View commit details -
Configuration menu - View commit details
-
Copy full SHA for e02708e - Browse repository at this point
Copy the full SHA e02708eView commit details -
use the new updated merging from TestPatch
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 92de7bf - Browse repository at this point
Copy the full SHA 92de7bfView commit details -
move revert and cherry-pick to drop down for operations and add creat…
…e tag/branch Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 490ac9a - Browse repository at this point
Copy the full SHA 490ac9aView commit details
Commits on Dec 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 561160f - Browse repository at this point
Copy the full SHA 561160fView commit details
Commits on Dec 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6a47494 - Browse repository at this point
Copy the full SHA 6a47494View commit details
Commits on Dec 23, 2021
-
Split off other actions button
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 20c6e69 - Browse repository at this point
Copy the full SHA 20c6e69View commit details -
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for d707b88 - Browse repository at this point
Copy the full SHA d707b88View commit details
Commits on Dec 24, 2021
-
remove margin from the bottom of the h3 and add it to the outer flex container, add ac class to center the flex box and remove the old message wrapper as it does not currently cause text-overflow ellipsis and its wrapping functionality is better served by the flex container. Also renames the Actions button Actions Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 406f525 - Browse repository at this point
Copy the full SHA 406f525View commit details
Commits on Dec 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1ac56a6 - Browse repository at this point
Copy the full SHA 1ac56a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7244187 - Browse repository at this point
Copy the full SHA 7244187View commit details
Commits on Jan 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a4caf2 - Browse repository at this point
Copy the full SHA 4a4caf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5049cc9 - Browse repository at this point
Copy the full SHA 5049cc9View commit details
Commits on Jan 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d3bbf2e - Browse repository at this point
Copy the full SHA d3bbf2eView commit details
Commits on Jan 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b43ac20 - Browse repository at this point
Copy the full SHA b43ac20View commit details -
Configuration menu - View commit details
-
Copy full SHA for d371168 - Browse repository at this point
Copy the full SHA d371168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7170909 - Browse repository at this point
Copy the full SHA 7170909View commit details -
fix linting and conflicts from previous prs
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 7cf8382 - Browse repository at this point
Copy the full SHA 7cf8382View commit details
Commits on Jan 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bed30e6 - Browse repository at this point
Copy the full SHA bed30e6View commit details
Commits on Feb 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6ec8527 - Browse repository at this point
Copy the full SHA 6ec8527View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046da34 - Browse repository at this point
Copy the full SHA 046da34View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac0be2d - Browse repository at this point
Copy the full SHA ac0be2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ca39bb - Browse repository at this point
Copy the full SHA 2ca39bbView commit details
Commits on Feb 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6ca8f13 - Browse repository at this point
Copy the full SHA 6ca8f13View commit details
Commits on Feb 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9557783 - Browse repository at this point
Copy the full SHA 9557783View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fddcb - Browse repository at this point
Copy the full SHA 31fddcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 095823d - Browse repository at this point
Copy the full SHA 095823dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6494e11 - Browse repository at this point
Copy the full SHA 6494e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fbc6e1 - Browse repository at this point
Copy the full SHA 6fbc6e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f6e6e9 - Browse repository at this point
Copy the full SHA 1f6e6e9View commit details
Commits on Feb 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 683822b - Browse repository at this point
Copy the full SHA 683822bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c5656 - Browse repository at this point
Copy the full SHA 63c5656View commit details
Commits on Feb 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f20e9d4 - Browse repository at this point
Copy the full SHA f20e9d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff58993 - Browse repository at this point
Copy the full SHA ff58993View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7c3c63 - Browse repository at this point
Copy the full SHA c7c3c63View commit details