Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix push commits comments when changing the pull request target branch#35386

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

Merged

Conversation

@lunny
Copy link
Member

When changing the pull request target branch, the pushed commits comments will not be changed resulted the number are inconsistent between commits tab number and the pushed commits comments number.

This PR will remove all the previous pushed commits comments and calculate new comments when changing the target branch.

Before:

image

After:
image

@lunnylunny added type/bug backport/v1.24This PR should be backported to Gitea 1.24 labelsAug 30, 2025
@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelAug 30, 2025
@github-actionsgithub-actionsbot added the modifies/goPull requests that update Go code labelAug 30, 2025
@GiteaBotGiteaBot added lgtm/need 1This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelsSep 8, 2025
@lunnylunny added this to the1.25.0 milestoneSep 8, 2025
@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsSep 9, 2025
@lunnylunny added the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelSep 9, 2025
@lunnylunnyenabled auto-merge (squash)September 9, 2025 19:14
@lunnylunny merged commitb9efbe9 intogo-gitea:mainSep 9, 2025
26 checks passed
@GiteaBotGiteaBot removed the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelSep 9, 2025
@GiteaBot
Copy link
Collaborator

I was unable to create a backport for 1.24.@lunny, please send one manually. 🍵

go run ./contrib/backport 35386...  // fix git conflicts if anygo run ./contrib/backport --continue

@GiteaBotGiteaBot added the backport/manualNo power to the bots! Create your backport yourself! labelSep 9, 2025
@lunnylunny deleted the lunny/fix_changetarget_commit_list branchSeptember 9, 2025 20:15
lunny added a commit to lunny/gitea that referenced this pull requestSep 9, 2025
go-gitea#35386)When changing the pull request target branch, the pushed commitscomments will not be changed resulted the number are inconsistentbetween commits tab number and the pushed commits comments number.This PR will remove all the previous pushed commits comments andcalculate new comments when changing the target branch.Before:<img width="928" height="585" alt="image"src="https://github.com/user-attachments/assets/35e4d31f-31a1-4d14-83b0-1786721ab0d9"/>After:<img width="816" height="623" alt="image"src="https://github.com/user-attachments/assets/24b6dafe-9238-4e7e-833d-68472457afab"/>
@lunnylunny added the backport/doneAll backports for this PR have been created labelSep 9, 2025
silverwind pushed a commit that referenced this pull requestSep 10, 2025
#35386) (#35443)Backport#35386 When changing the pull request target branch, the pushed commitscomments will not be changed resulted the number are inconsistentbetween commits tab number and the pushed commits comments number.This PR will remove all the previous pushed commits comments andcalculate new comments when changing the target branch.Before:<img width="928" height="585" alt="image"src="https://github.com/user-attachments/assets/35e4d31f-31a1-4d14-83b0-1786721ab0d9"/>After:<img width="816" height="623" alt="image"src="https://github.com/user-attachments/assets/24b6dafe-9238-4e7e-833d-68472457afab"/>
zjjhot added a commit to zjjhot/gitea that referenced this pull requestSep 10, 2025
* giteaofficial/main:  Fix a compare page 404 bug when the pull request disabled (go-gitea#35441)  Use db.WithTx/WithTx2 instead of TxContext when possible (go-gitea#35428)  [skip ci] Updated translations via Crowdin  Update JS and PY dependencies (go-gitea#35444)  check user and repo for redirects when using git via SSH transport (go-gitea#35416)  Fix push commits comments when changing the pull request target branch (go-gitea#35386)  Fix bug when issue disabled, pull request number in the commit message cannot be redirected (go-gitea#35420)  [skip ci] Updated translations via Crowdin  Update gofumpt, add go.mod ignore directive (go-gitea#35434)
@go-giteago-gitea locked asresolvedand limited conversation to collaboratorsDec 9, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@silverwindsilverwindsilverwind approved these changes

+1 more reviewer

@hiifonghiifonghiifong approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

backport/doneAll backports for this PR have been createdbackport/manualNo power to the bots! Create your backport yourself!backport/v1.24This PR should be backported to Gitea 1.24lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/goPull requests that update Go codetype/bug

Projects

None yet

Milestone

1.25.0

Development

Successfully merging this pull request may close these issues.

4 participants

@lunny@GiteaBot@silverwind@hiifong

[8]ページ先頭

©2009-2025 Movatter.jp