diff options
| author | pcc <peter@pcc.me.uk> | 2024-08-14 17:25:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 17:25:28 -0700 |
| commit | 564efe26745c5bb7236b095d5b42881cdc64a284 (patch) | |
| tree | a842e15a8f2f284493b18492f9175ed084df6d25 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface | |
| parent | 9a9ca9850f3c6b278e052745f51a87296d9fedd2 (diff) | |
utils/git: Add linkify script.
This script linkifies (i.e. makes clickable in the terminal) text that appears
to be a pull request or issue reference (e.g. #12345 or PR12345) or a
40-character commit hash (e.g. abc123). You can configure git to automatically
send the output of commands that pipe their output through a pager, such as
`git log` and `git show`, through this script by running this command from
within your LLVM checkout:
git config core.pager 'llvm/utils/git/linkify | pager'
The pager command is run from the root of the repository even if the git
command is run from a subdirectory, so the relative path should always work.
It requires OSC 8 support in the terminal. For a list of compatible terminals,
see https://github.com/Alhadis/OSC8-Adoption
Reviewers: MaskRay
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/103496
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface')
0 files changed, 0 insertions, 0 deletions
