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

Fix commit retrieval by tag (#21804) #23266

Merged
merged 2 commits into from
Mar 3, 2023

Commits on Mar 3, 2023

  1. Fix commit retrieval by tag (go-gitea#21804)

    It is not correct to return tag data when commit data is requested, so
    remove the hacky code that overwrote parts of a commit with parts of a
    tag.
    
    This fixes commit retrieval by tag for both the latest commit in the UI
    and the commit info on tag webhook events.
    
    Fixes: go-gitea#21687
    Replaces: go-gitea#21693
    
    <img width="324" alt="Screenshot 2022-11-13 at 15 26 37"
    src="https://user-images.githubusercontent.com/115237/201526975-736c6ea7-ad6a-467a-a823-9a63d6ecb718.png">
    
    <img width="789" alt="image"
    src="https://user-images.githubusercontent.com/115237/201526876-90a13ffc-1e5c-4d76-911b-f1ae51e8eaab.png">
    
    ---------
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    2 people authored and GiteaBot committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    0e710c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14cf641 View commit details
    Browse the repository at this point in the history