[PR #3826] [MERGED] Symlink icons (#1416) #17101

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3826
Author: @tf198
Created: 4/21/2018
Status: Merged
Merged: 5/1/2018
Merged by: @lafriks

Base: masterHead: symlink_icons


📝 Commits (7)

  • 2c9f8f8 Updated vendor code for code.gitea.io/git
  • f0d783f Display symlinks correctly for files and directories
  • e8d56c8 Added symlink tests
  • e3cfae9 Applied silverwinds stylesheet patch
  • 2b3776e Merge branch 'master' into symlink_icons
  • 046543d Merge branch 'master' into symlink_icons
  • 25039cd Merge branch 'master' into symlink_icons

📊 Changes

51 files changed (+837 additions, -33 deletions)

View changed files

integrations/gitea-repositories-meta/user2/repo20.git/HEAD (+1 -0)
integrations/gitea-repositories-meta/user2/repo20.git/config (+4 -0)
integrations/gitea-repositories-meta/user2/repo20.git/description (+1 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/applypatch-msg.sample (+15 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/commit-msg.sample (+24 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/fsmonitor-watchman.sample (+114 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-receive (+15 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-receive.d/gitea (+2 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-update.sample (+8 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-applypatch.sample (+14 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-commit.sample (+49 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-push.sample (+53 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-rebase.sample (+169 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive (+15 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.d/gitea (+2 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.sample (+24 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/prepare-commit-msg.sample (+42 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/update (+14 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/update.d/gitea (+2 -0)
integrations/gitea-repositories-meta/user2/repo20.git/hooks/update.sample (+128 -0)

...and 31 more files

📄 Description

Uses the octicon icons for directory and file symlinks.

screenshot-2018-4-21 symlink_test

Directory symlinks will only be rendered if the target is present in the repository. Broken links, targets outside the repo and links to other links will just be rendered as file-symlink-file.


🔄 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/3826 **Author:** [@tf198](https://github.com/tf198) **Created:** 4/21/2018 **Status:** ✅ Merged **Merged:** 5/1/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `symlink_icons` --- ### 📝 Commits (7) - [`2c9f8f8`](https://github.com/go-gitea/gitea/commit/2c9f8f8c8a85ac5a0e8e1dcb6a5c79052d28917d) Updated vendor code for code.gitea.io/git - [`f0d783f`](https://github.com/go-gitea/gitea/commit/f0d783ffa9103e6a72569122ea24c7c5397c31f4) Display symlinks correctly for files and directories - [`e8d56c8`](https://github.com/go-gitea/gitea/commit/e8d56c80bc1efa65a68329636a22ad3ce4013e10) Added symlink tests - [`e3cfae9`](https://github.com/go-gitea/gitea/commit/e3cfae90978ecf430bff2e5f3f527799c613ae2b) Applied silverwinds stylesheet patch - [`2b3776e`](https://github.com/go-gitea/gitea/commit/2b3776eaf5af505eecf8dba28d43e002fc5d74fb) Merge branch 'master' into symlink_icons - [`046543d`](https://github.com/go-gitea/gitea/commit/046543d83304b41fa112e094f776b986b93ecf8e) Merge branch 'master' into symlink_icons - [`25039cd`](https://github.com/go-gitea/gitea/commit/25039cd194a04fd33f8232aa25afbee97b7e5bf4) Merge branch 'master' into symlink_icons ### 📊 Changes **51 files changed** (+837 additions, -33 deletions) <details> <summary>View changed files</summary> ➕ `integrations/gitea-repositories-meta/user2/repo20.git/HEAD` (+1 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/config` (+4 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/description` (+1 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/applypatch-msg.sample` (+15 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/commit-msg.sample` (+24 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/fsmonitor-watchman.sample` (+114 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-receive` (+15 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-receive.d/gitea` (+2 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/post-update.sample` (+8 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-applypatch.sample` (+14 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-commit.sample` (+49 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-push.sample` (+53 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-rebase.sample` (+169 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive` (+15 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.d/gitea` (+2 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.sample` (+24 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/prepare-commit-msg.sample` (+42 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/update` (+14 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/update.d/gitea` (+2 -0) ➕ `integrations/gitea-repositories-meta/user2/repo20.git/hooks/update.sample` (+128 -0) _...and 31 more files_ </details> ### 📄 Description Uses the octicon icons for directory and file symlinks. ![screenshot-2018-4-21 symlink_test](https://user-images.githubusercontent.com/682654/39080701-78d42f00-4577-11e8-933a-f9e62af2685c.png) Directory symlinks will only be rendered if the target is present in the repository. Broken links, targets outside the repo and links to other links will just be rendered as `file-symlink-file`. --- <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:26:19 -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#17101