From af429cd89bf83bbbef295ded85e66f03776ec015 Mon Sep 17 00:00:00 2001 From: antonio-cortes-perez Date: Tue, 22 Sep 2020 23:39:50 +0000 Subject: [PATCH] [NFC][docs] Fix link. The rendered html was (no hyperlink was generated): (see Getting Started ) Now, it is (with proper hyperlink): (see Git pre-push hook) Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D88116 --- llvm/docs/GettingStarted.rst | 3 +++ llvm/docs/Phabricator.rst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst index c30ebecc..70e12b0 100644 --- a/llvm/docs/GettingStarted.rst +++ b/llvm/docs/GettingStarted.rst @@ -528,6 +528,9 @@ that include merges, so the `git rebase` step above is required. Please ask for help if you're having trouble with your particular git workflow. + +.. _git_pre_push_hook: + Git pre-push hook ^^^^^^^^^^^^^^^^^ diff --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst index e0e4061..b1adb9b 100644 --- a/llvm/docs/Phabricator.rst +++ b/llvm/docs/Phabricator.rst @@ -187,7 +187,7 @@ this reason avoid using `arc land` and push commits to master directly with git after removing tags other than "Reviewed by" and "Differential Revision". You can run `llvm/utils/git/arcfilter.sh` to clean the commit message of the current "HEAD" commit automatically. You can also setup a git hook to catch this -for you (see `Getting Started `). +for you (see :ref:`git_pre_push_hook`). Committing someone's change from Phabricator -- 2.7.4