New commits are not being displayed in pull request #6139

Closed
opened 2025-11-02 06:46:10 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @lakostin on GitHub (Oct 13, 2020).

  • Gitea version (or commit ref):
    1.13.0+dev-683-gb725c4ee5
  • Git version:
    2.26.2
  • Operating system:
    Alpine Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

After adding new commits to the branch with open pull request new commits sometimes do not appear in this pull request.

steps to reproduce:
git checkout master
git pull
git checkout feature_branch
git merge master
git commit -a -m "resolved merge conflict"
git push

...

Screenshots

Screenshot from 2020-10-13 14-54-36
Screenshot from 2020-10-13 14-54-24

Originally created by @lakostin on GitHub (Oct 13, 2020). - Gitea version (or commit ref): 1.13.0+dev-683-gb725c4ee5 - Git version: 2.26.2 - Operating system: Alpine Linux - Database (use `[x]`): - [X] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: ## Description After adding new commits to the branch with open pull request new commits sometimes do not appear in this pull request. steps to reproduce: git checkout master git pull git checkout feature_branch git merge master git commit -a -m "resolved merge conflict" git push ... ## Screenshots ![Screenshot from 2020-10-13 14-54-36](https://user-images.githubusercontent.com/29179059/95857992-0fa10180-0d65-11eb-938a-728eb9671097.png) ![Screenshot from 2020-10-13 14-54-24](https://user-images.githubusercontent.com/29179059/95857993-10399800-0d65-11eb-92fa-2ed61d17c938.png)
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 06:46:10 -06:00
Author
Owner

@melmus commented on GitHub (Oct 23, 2020):

I have this problem on my gitea host too.

@melmus commented on GitHub (Oct 23, 2020): I have this problem on my gitea host too.
Author
Owner

@zeripath commented on GitHub (Oct 23, 2020):

The list of commits is the result of git log pr-branch...pr-base - not from when the pr was created.

@zeripath commented on GitHub (Oct 23, 2020): The list of commits is the result of git log pr-branch...pr-base - not from when the pr was created.
Author
Owner

@lakostin commented on GitHub (Oct 23, 2020):

The list of commits is the result of git log pr-branch...pr-base - not from when the pr was created.

@zeripath could you explain please what you mean

@lakostin commented on GitHub (Oct 23, 2020): > The list of commits is the result of git log pr-branch...pr-base - not from when the pr was created. @zeripath could you explain please what you mean
Author
Owner

@zeripath commented on GitHub (Oct 24, 2020):

I meant exactly what I wrote. If you have a pr head
head and pr base base. The commits displayed are:

git log head...base

What you appear to be asking for instead is something less clever than what git log head...base does probably git log head..base.

If you figure out what the log command of that produces the results that you want we can switch to that

@zeripath commented on GitHub (Oct 24, 2020): I meant exactly what I wrote. If you have a pr head `head` and pr base `base`. The commits displayed are: ``` git log head...base ``` What you appear to be asking for instead is something less clever than what `git log head...base` does probably `git log head..base`. If you figure out what the log command of that produces the results that you want we can switch to that
Author
Owner

@dschmidt commented on GitHub (Apr 8, 2022):

I just updated to Gitea 1.16.5 from (1.12.x) and now I don't see any new commits in any branch. I.e. it seems to be reproducible 100%.

Is there any news about this?

What I noticed is that I don't see the link to create a new PR on push anymore. Has this feature been removed or is something regarding PRs seriously broken in my setup?

Can I provide anything to help debug this?
I did not see a warning or an error in my logfile and I'm running on log level debug.

@dschmidt commented on GitHub (Apr 8, 2022): I just updated to Gitea 1.16.5 from (1.12.x) and now I don't see any new commits in any branch. I.e. it seems to be reproducible 100%. Is there any news about this? What I noticed is that I don't see the link to create a new PR on push anymore. Has this feature been removed or is something regarding PRs seriously broken in my setup? Can I provide anything to help debug this? I did not see a warning or an error in my logfile and I'm running on log level debug.
Author
Owner

@nm-bls commented on GitHub (Apr 4, 2023):

This issue still exists.
PR's reliably do not update with new commits on the source branch on my installation (Gitea 1.19).

No errors appear in the logs, however the PR is flagged with the message This pull request is broken due to missing fork information.

@nm-bls commented on GitHub (Apr 4, 2023): This issue still exists. PR's reliably do not update with new commits on the source branch on my installation (Gitea 1.19). No errors appear in the logs, however the PR is flagged with the message ` This pull request is broken due to missing fork information. `
Author
Owner

@delvh commented on GitHub (Apr 4, 2023):

See https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running.

@delvh commented on GitHub (Apr 4, 2023): See https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6139