Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wishlist] Server-side reflog #14865

Closed
mateusza opened this issue Mar 3, 2021 · 3 comments
Closed

[wishlist] Server-side reflog #14865

mateusza opened this issue Mar 3, 2021 · 3 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Milestone

Comments

@mateusza
Copy link

mateusza commented Mar 3, 2021

There should be an option to enable server-side reflog for all or specific repositories. This is very helpful when somebody accidentally push -f

https://stackoverflow.com/questions/48769443/git-reflog-in-bare-repository-with-core-logallrefupdates-set-true-returns-nothin

@mateusza mateusza changed the title Server-side reflog [wishlist] Server-side reflog Mar 3, 2021
@zeripath
Copy link
Contributor

why not just set this value in the gitea user's .gitconfig?

@mateusza
Copy link
Author

why not just set this value in the gitea user's .gitconfig?

Why not just user bare repositories, command line git and regular SSH access instead of this Gitea thing? :-)

Of course you can set this value per repository, as long as you are the server administrator.

It would be nice to let repository owners set this with Gitea web interface; also possibly make it default per server, per user, per organization etc.

@zeripath zeripath added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Mar 12, 2021
lunny added a commit that referenced this issue Mar 13, 2023
This PR adds support for reflogs on all repositories. It does this by
adding a global configuration entry.

Implements #14865

---------

Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Mar 13, 2023
This PR adds support for reflogs on all repositories. It does this by
adding a global configuration entry.

Implements go-gitea#14865

---------

Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath pushed a commit that referenced this issue Mar 13, 2023
Backport #22451 by @philip-peterson

This PR adds support for reflogs on all repositories. It does this by
adding a global configuration entry.

Implements #14865

Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com>
Co-authored-by: Philip Peterson <philip-peterson@users.noreply.github.com>
@philip-peterson
Copy link
Contributor

This has been implemented now via config option. Issue can likely be closed.

@delvh delvh closed this as completed Mar 16, 2023
@delvh delvh added this to the 1.20.0 milestone Mar 16, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

No branches or pull requests

4 participants