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

Set no-tags in git fetch on compare (#20893) #20936

Merged

Commits on Aug 23, 2022

  1. Set no-tags in git fetch on compare (go-gitea#20893)

    Backport go-gitea#20893
    
    In the compare endpoint the git fetch is restricted to a certain branch however,
    this does not completely prevent tag acquisition/pollution as git fetch will collect
    any tags on that branch.
    
    This causes pollution of the tag namespace and could cause confusion by users.
    
    This PR adds `--no-tags` to the `git fetch` call.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d78bf3f View commit details
    Browse the repository at this point in the history