mirror of
https://github.com/go-gitea/git.git
synced 2026-07-25 12:46:00 -04:00
[PR #115] [MERGED] Fix for short symlink bug in FollowLink() #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:followlink_fix📝 Commits (1)
3477fcbFix for short symlinks📊 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.