git ref Prefix should be const's in modules/git/ref.go #7600

Closed
opened 2025-11-02 07:31:00 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @6543 on GitHub (Jul 18, 2021).

... it need a refactor ...
-> I propose to move things into modules/git/ref.go and replace strings in code with that const ... witch is worth it's own pull

Originally posted by @6543 in https://github.com/go-gitea/gitea/pull/14295#discussion_r671834787

  • refs/tags
  • refs/heads
  • refs/remotes
    ...
Originally created by @6543 on GitHub (Jul 18, 2021). ... it need a refactor ... -> I propose to move things into modules/git/ref.go and replace strings in code with that const ... witch is worth it's own pull _Originally posted by @6543 in https://github.com/go-gitea/gitea/pull/14295#discussion_r671834787_ * `refs/tags` * `refs/heads` * `refs/remotes` ...
GiteaMirror added the type/refactoring label 2025-11-02 07:31:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7600