Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
Add rebase push display wrong comments bug#35560
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
silverwind commentedOct 1, 2025
Will this erase commits that were force-pushed over from the history? This is a very old bug that I noticed once, and I would appreciate if these commits were erased from history, just like on GitHub. |
lunny commentedOct 1, 2025
This will fix a bug caused by my previous PR which forgot set IsForceBranch as true. That means this will restore the features before my previous PR and the old push comments will not be deleted. Are you sure Github will delete the old push comments? |
silverwind commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yes they do. Say for example I push up commits 1,2,3 to a PR and I Before: ![]() After: ![]() |
Uh oh!
There was an error while loading.Please reload this page.
| err=os.WriteFile(dstPath+"/README.md", []byte("Hello, World (Edited Conflict Resolved)\n"),0o644) | ||
| assert.NoError(t,err) | ||
| _,_,err=gitcmd.NewCommand().AddArguments("add","--all").RunStdString(t.Context(),&gitcmd.RunOpts{Dir:dstPath}) | ||
| assert.NoError(t,err) | ||
| doGitCommit(dstPath,"Resolve conflict")(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There is alreadydoGitAddSomeCommits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
That function can not be used here because we need to make a conflict line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I do not see why it should duplicate the code by copy&paste
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
17c8aa6 intogo-gitea:mainUh oh!
There was an error while loading.Please reload this page.
Fixgo-gitea#35518---------Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Fixgo-gitea#35518---------Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Fixgo-gitea#35518---------Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: fix: auto-expand and auto-scroll for actions logs (go-gitea#35570) (go-gitea#35583) [skip ci] Updated translations via Crowdin [skip ci] Updated translations via Crowdin Fix creating pull request failure when the target branch name is the same as some tag (go-gitea#35552) Use bundled version of spectral (go-gitea#35573) Add rebase push display wrong comments bug (go-gitea#35560) Address some CodeQL security concerns (go-gitea#35572) fix(webhook): prevent tag events from bypassing branch filters targetsgo-gitea#35449 (go-gitea#35567) Added button to copy file name in PR files (go-gitea#35509) Update JS and PY deps (go-gitea#35565) Enable a few more tsconfig options (go-gitea#35553) Bump github.com/wneessen/go-mail from 0.6.2 to 0.7.1 (go-gitea#35557) add more routes to the "expensive" list (go-gitea#35547) Drop json-iterator dependency (go-gitea#35544) Add proper error message if session provider can not be created (go-gitea#35520) use experimental go json v2 library (go-gitea#35392) Use global lock instead of status pool for cron lock (go-gitea#35507) Move some functions to gitrepo package (go-gitea#35503) Move GetDiverging functions to gitrepo (go-gitea#35524) [skip ci] Updated translations via Crowdin
badhezi commentedOct 8, 2025
@lunny Appears to be from nil pointer on: gitea/services/issue/comments.go Line 174 in03fce8f
|
lunny commentedOct 14, 2025
I have sent#35647 to try to fix it. |
GiteaBot commentedOct 14, 2025
I was unable to create a backport for 1.24.@lunny, please send one manually. 🍵 |


Fix#35518