Code Permalink in history #13534

Open
opened 2025-11-02 10:45:20 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @wld159 on GitHub (Sep 26, 2024).

Feature Description

code Permalink in diff's code in git's history (or specific commit) operation.

Based on gitea's 1.23.0+dev-526-g3269b04d61, the current code snippet only works with the code on branch. (8bcbb4ecd5/filename_40char_long_xxxxxxxxxxxxxxx.txt (L1))

I want to use code Permalink in a specific code in history.
(8bcbb4ecd5)

Screenshots

Github supports code Permalink with tags #L and #R in the code.

https://github.com/orgs/community/discussions/139005

Originally created by @wld159 on GitHub (Sep 26, 2024). ### Feature Description code Permalink in diff's code in git's history (or specific commit) operation. Based on gitea's 1.23.0+dev-526-g3269b04d61, the current code snippet only works with the code on branch. (https://demo.gitea.com/yp05327/test/src/commit/8bcbb4ecd54479852d36111b77114506bdf90003/filename_40char_long_xxxxxxxxxxxxxxx.txt#L1) I want to use code Permalink in a specific code in history. (https://demo.gitea.com/yp05327/test/commit/8bcbb4ecd54479852d36111b77114506bdf90003) ### Screenshots Github supports code Permalink with tags #L and #R in the code. https://github.com/orgs/community/discussions/139005
GiteaMirror added the type/proposal label 2025-11-02 10:45:20 -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#13534