Treat an unrelated file as a branch in macOS #3404

Closed
opened 2025-11-02 05:11:54 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @ghost on GitHub (May 31, 2019).

  • Gitea version (or commit ref): fb4438a
  • Git version: 2.20.1
  • Operating system: macOS
  • 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: N/A

Description

Getting 500 error when viewing branches page.
I'm not sure if this issue is caused by Gitea or go-git

Screenshots

Originally created by @ghost on GitHub (May 31, 2019). - Gitea version (or commit ref): fb4438a - Git version: 2.20.1 - Operating system: macOS - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: N/A ## Description Getting 500 error when viewing branches page. I'm not sure if this issue is caused by Gitea or go-git ## Screenshots ![](https://user-images.githubusercontent.com/2960293/58709439-260b1f00-83f5-11e9-8915-02dea4c5be0e.png)
GiteaMirror added the issue/confirmedstatus/blocked labels 2025-11-02 05:11:54 -06:00
Author
Owner

@zeripath commented on GitHub (May 31, 2019):

Somehow you've managed to add a .DS_Store file to the ~/gitea-repositories/owner/repo.git/refs/heads/ this would break most git systems.

You should delete it.

@zeripath commented on GitHub (May 31, 2019): Somehow you've managed to add a `.DS_Store` file to the `~/gitea-repositories/owner/repo.git/refs/heads/` this would break most git systems. You should delete it.
Author
Owner

@ghost commented on GitHub (May 31, 2019):

Somehow you've managed to add a .DS_Store file to the ~/gitea-repositories/owner/repo.git/refs/heads/ this would break most git systems.

You should delete it.

This file is automatically created by macOS's Finder.
But this problem should not have happened before changing to go-git.

@ghost commented on GitHub (May 31, 2019): > Somehow you've managed to add a `.DS_Store` file to the `~/gitea-repositories/owner/repo.git/refs/heads/` this would break most git systems. > > You should delete it. This file is automatically created by macOS's Finder. But this problem should not have happened before changing to go-git.
Author
Owner

@lunny commented on GitHub (May 31, 2019):

Maybe send an issue to upstream?

@lunny commented on GitHub (May 31, 2019): Maybe send an issue to upstream?
Author
Owner

@stale[bot] commented on GitHub (Jul 30, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jul 30, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Aug 13, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Aug 13, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3404