Skip to content

Conversation

lunny
Copy link
Member

@lunny lunny commented Sep 2, 2025

Related to #32018

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Sep 2, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Sep 2, 2025
@lunny lunny marked this pull request as ready for review September 5, 2025 23:05
@silverwind
Copy link
Member

silverwind commented Sep 10, 2025

I guess this may be an acceptable workaround but I ultimately I think it's a bug in git if it leaves stale lockfiles around (assuming we only use git commands to add those remotes).

@lunny
Copy link
Member Author

lunny commented Sep 11, 2025

I guess this may be an acceptable workaround but I ultimately I think it's a bug in git if it leaves stale lockfiles around (assuming we only use git commands to add those remotes).

It’s not a Git bug. The Git subprocess may exit abnormally or be canceled if Gitea shuts down, reboots, or exits unexpectedly.

@silverwind
Copy link
Member

Ok, and git does not offer any commands to clean up lockfiles, right? It has to be done with manual deletion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code modifies/translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants