From 3d302e72e29ba00725585f6902d41f93140bd956 Mon Sep 17 00:00:00 2001 From: Talya <243989+nehemiagurl@noreply.gitea.com> Date: Tue, 15 Sep 2026 16:56:15 +0000 Subject: [PATCH] Add commits in other repos documentation (#548) Added in [go-gitea/gitea#22645](https://github.com/go-gitea/gitea/pull/22645) but not properly documented. Reviewed-on: https://gitea.com/gitea/docs/pulls/548 Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com> Co-authored-by: Talya <243989+nehemiagurl@noreply.gitea.com> --- .../version-1.27/usage/issues-prs/linked-references.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-1.27/usage/issues-prs/linked-references.md b/versioned_docs/version-1.27/usage/issues-prs/linked-references.md index 9038321a..90788db2 100644 --- a/versioned_docs/version-1.27/usage/issues-prs/linked-references.md +++ b/versioned_docs/version-1.27/usage/issues-prs/linked-references.md @@ -51,6 +51,11 @@ Example: > This bug was introduced in [e59ff077](#) +Commits in other repositories can be referred to as well +using the form `owner/repository@e59ff077`: + +> This bug was introduced in [mike/compiler@e59ff077](#) + ## Issues and Pull Requests A reference to another issue or pull request can be created using the simple @@ -177,7 +182,7 @@ In the examples, `User1/Repo1` refers to the repository where the reference is u | `UserZ/RepoZ!1234` | - | no | A link to issue/pull 1234 in `UserZ/RepoZ` | | `UserZ/RepoZ#1234` | - | yes | A link to _external issue_ 1234 for `UserZ/RepoZ` | | `UserZ/RepoZ!1234` | - | yes | A link to _PR_ 1234 for `UserZ/RepoZ` | -| **Alphanumeric issue IDs:** | - | - | - | +| **Alphanumeric issue IDs:** | - | - | - | | `AAA-1234` | yes | - | A link to _external issue_ `AAA-1234` for `User1/Repo1` | | `!1234` | yes | - | A link to _PR_ 1234 for `User1/Repo1` | | `User1/Repo1!1234` | yes | - | A link to _PR_ 1234 for `User1/Repo1` |