[PR #115] [MERGED] Fix for short symlink bug in FollowLink() #118

Closed
opened 2026-02-16 10:24:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/115
Author: @tf198
Created: 4/19/2018
Status: Merged
Merged: 4/20/2018
Merged by: @lunny

Base: masterHead: followlink_fix


📝 Commits (1)

📊 Changes

7 files changed (+10 additions, -3 deletions)

View changed files

tests/repos/repo1_bare/objects/2e/65efe2a145dda7ee51d1741299f848e5bf752e (+0 -0)
tests/repos/repo1_bare/objects/37/991dec2c8e592043f47155ce4808d4580f9123 (+1 -0)
tests/repos/repo1_bare/objects/b1/fc9917b618c924cf4aa421dae74e8bf9b556d3 (+0 -0)
tests/repos/repo1_bare/objects/f1/a6cb52b2d16773290cefe49ad0684b50a4f930 (+0 -0)
📝 tests/repos/repo1_bare/refs/heads/master (+1 -1)
📝 tree_entry.go (+1 -1)
📝 tree_entry_test.go (+7 -1)

📄 Description

Found this stupid bug in my last submission for symlinks to short paths like ../ab.

Think I must have been having a python moment! :-S


🔄 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/git/pull/115 **Author:** [@tf198](https://github.com/tf198) **Created:** 4/19/2018 **Status:** ✅ Merged **Merged:** 4/20/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `followlink_fix` --- ### 📝 Commits (1) - [`3477fcb`](https://github.com/go-gitea/git/commit/3477fcb057176a7b80799c0ff1d32b03364e0378) Fix for short symlinks ### 📊 Changes **7 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `tests/repos/repo1_bare/objects/2e/65efe2a145dda7ee51d1741299f848e5bf752e` (+0 -0) ➕ `tests/repos/repo1_bare/objects/37/991dec2c8e592043f47155ce4808d4580f9123` (+1 -0) ➕ `tests/repos/repo1_bare/objects/b1/fc9917b618c924cf4aa421dae74e8bf9b556d3` (+0 -0) ➕ `tests/repos/repo1_bare/objects/f1/a6cb52b2d16773290cefe49ad0684b50a4f930` (+0 -0) 📝 `tests/repos/repo1_bare/refs/heads/master` (+1 -1) 📝 `tree_entry.go` (+1 -1) 📝 `tree_entry_test.go` (+7 -1) </details> ### 📄 Description Found this stupid bug in my last submission for symlinks to short paths like `../ab`. Think I must have been having a python moment! :-S --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:24:10 -05:00
yindo closed this issue 2026-02-16 10:24:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/git#118