diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 15:31:26 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 15:37:56 +0200 |
| commit | 0b9ecaf25e3ad71150836e94700c2e69b7ebb30c (patch) | |
| tree | 025638b667cf97714be4ea6bffc1f446fd523481 /scripts/setup-hooks.sh | |
| parent | workflows/ci: use default Black settings (diff) | |
| download | math-server-0b9ecaf25e3ad71150836e94700c2e69b7ebb30c.tar.gz math-server-0b9ecaf25e3ad71150836e94700c2e69b7ebb30c.zip | |
add .git-blame-ignore-revs
Diffstat (limited to '')
| -rwxr-xr-x | scripts/setup-hooks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/setup-hooks.sh b/scripts/setup-hooks.sh index dad7e79..0530bd5 100755 --- a/scripts/setup-hooks.sh +++ b/scripts/setup-hooks.sh @@ -18,9 +18,14 @@ setup_clang_format_hook() { ln -fs -- "$symlink_dest" "$hooks_dir/pre-commit" } +setup_git_blame() { + git config blame.ignoreRevsFile .git-blame-ignore-revs +} + main() { cd -- "$script_dir" setup_clang_format_hook + setup_git_blame } main |
