Files
carbon-lang/.pre-commit-search-and-replace.yaml
T
Jon Meow 8396527043 Add pre-commit check to remove trunk links from md files (#847)
Restricting this to just md files because maybe we'll reasonably want such links in source files, but would be fine removing that restriction if you're on board.

e.g., this won't change: https://github.com/carbon-language/carbon-lang/blob/trunk/common/string_helpers.cpp#L85
2021-09-23 09:05:21 -07:00

7 lines
285 B
YAML

# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- search: /https:\/\/github.com\/carbon-language\/carbon-lang\/blob\/trunk\//
replacement: /