[PR #2954] [MERGED] Remove render issue link #16680

Closed
opened 2025-11-02 12:16:13 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2954
Author: @makarchuk
Created: 11/21/2017
Status: Merged
Merged: 11/22/2017
Merged by: @lafriks

Base: masterHead: remove_render_issue_link


📝 Commits (2)

  • 44047b5 Remove function that does nothing
  • 4c0db36 Remove unused import

📊 Changes

1 file changed (+0 additions, -13 deletions)

View changed files

📝 routers/repo/commit.go (+0 -13)

📄 Description

While exploring the code I found function that is called multiple times but just copies the list.
As far as I understand there is no need to copy it, so I remove this function to make a code slightly more readable and nice.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2954 **Author:** [@makarchuk](https://github.com/makarchuk) **Created:** 11/21/2017 **Status:** ✅ Merged **Merged:** 11/22/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `remove_render_issue_link` --- ### 📝 Commits (2) - [`44047b5`](https://github.com/go-gitea/gitea/commit/44047b5bedb3be39cb72d24e66f96c1cfa2e7f6d) Remove function that does nothing - [`4c0db36`](https://github.com/go-gitea/gitea/commit/4c0db36bfa1c0ec6f23f0281a8af589f9868dee5) Remove unused import ### 📊 Changes **1 file changed** (+0 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `routers/repo/commit.go` (+0 -13) </details> ### 📄 Description While exploring the code I found function that is called multiple times but just copies the list. As far as I understand there is no need to copy it, so I remove this function to make a code slightly more readable and nice. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:16:13 -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#16680