Git clone fetches outdated version after committing changes in the webui #3973

Closed
opened 2025-11-02 05:32:17 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Gooberpatrol66 on GitHub (Sep 17, 2019).

  • Gitea version (or commit ref): 1.8.3
  • Git version: 2.21.0
  • Operating system: Gentoo 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

  1. open a file in the webui
  2. make an edit with the pencil icon
  3. commit change to master
  4. verify that the commit appears
  5. verify that the file is changed
  6. verify that master is the only branch
  7. git clone the repository
  8. look in the file
  9. the file is the version from before the edit was made
    ...

Screenshots

Screenshot_20190917_161837

Originally created by @Gooberpatrol66 on GitHub (Sep 17, 2019). - Gitea version (or commit ref): 1.8.3 - Git version: 2.21.0 - Operating system: Gentoo Linux - Database (use `[x]`): - [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 1. open a file in the webui 2. make an edit with the pencil icon 3. commit change to master 4. verify that the commit appears 5. verify that the file is changed 6. verify that master is the only branch 7. git clone the repository 8. look in the file 9. the file is the version from before the edit was made ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![Screenshot_20190917_161837](https://user-images.githubusercontent.com/5498361/65080420-e5fd8700-d966-11e9-9e77-c7e4cc3fc528.png)
Author
Owner

@Gooberpatrol66 commented on GitHub (Sep 17, 2019):

The file's suddenly up-to-date. I don't know WTF just happened.

@Gooberpatrol66 commented on GitHub (Sep 17, 2019): The file's suddenly up-to-date. I don't know WTF just happened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3973