Commits from development branch not appearing in PR to master, and warning when pulling branch #15005

Open
opened 2025-11-02 11:27:51 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Kumaresansyncfusion on GitHub (Oct 7, 2025).

Description

Description:

After merging several PRs into the development branch, the changes are visible on development in Gitea. However, when creating a pull request from development into master, the new commits do not appear in the PR diff. It seems that master is not recognizing the latest commits from development during PR creation.

Additionally, when pulling the branch from development, a warning is encountered, which might be related to this issue.

Steps to reproduce:

Merge multiple PRs into the development branch.
Observe that changes are visible on development.
Create a PR from development into master.
Notice that the new commits are not included in the PR diff.
Try to pull development branch locally and observe the warning.

Gitea Version

1.24.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.49.1

Operating System

No response

How are you running Gitea?

Docker

Database

None

Originally created by @Kumaresansyncfusion on GitHub (Oct 7, 2025). ### Description Description: After merging several PRs into the development branch, the changes are visible on development in Gitea. However, when creating a pull request from development into master, the new commits do not appear in the PR diff. It seems that master is not recognizing the latest commits from development during PR creation. Additionally, when pulling the branch from development, a warning is encountered, which might be related to this issue. Steps to reproduce: Merge multiple PRs into the development branch. Observe that changes are visible on development. Create a PR from development into master. Notice that the new commits are not included in the PR diff. Try to pull development branch locally and observe the warning. ### Gitea Version 1.24.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.49.1 ### Operating System _No response_ ### How are you running Gitea? Docker ### Database None
GiteaMirror added the issue/needs-feedback label 2025-11-02 11:27:51 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Oct 7, 2025):

Unable to reproduce:

  1. Create a dev branch from main
  2. Create a dev-sub branch from main
  3. Add a new file in "dev-sub"
  4. Create a PR from "dev-sub" to "dev", merge it
  5. Create a PR from "dev" to "main", merge it

Everything works, and the prompts also work.

Image Image
@wxiaoguang commented on GitHub (Oct 7, 2025): Unable to reproduce: 1. Create a dev branch from main 2. Create a dev-sub branch from main 3. Add a new file in "dev-sub" 4. Create a PR from "dev-sub" to "dev", merge it 5. Create a PR from "dev" to "main", merge it Everything works, and the prompts also work. <img width="699" height="691" alt="Image" src="https://github.com/user-attachments/assets/694b4ca9-d6cc-44b4-bff5-5bf71cfbdd5d" /> <img width="628" height="690" alt="Image" src="https://github.com/user-attachments/assets/004d03f5-0a76-4332-b171-4c2a5ccb37ed" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15005