1
0
mirror of https://git.dpkg.org/git/dpkg/dpkg.git synced 2025-07-02 23:57:58 +00:00
Files
dpkg/autogen
Guillem Jover bcb37baf8e build: Add support for .git-blame-ignore-revs file
The current codebase contains a mix of styles, which is confusing when
reading, or when contributing code. The main reason the code has been
switched to the new style incrementally has been because mass changes
create «git blame» barriers, at which point git blame becomes unusable.

But with the recent-ish support for the «git blame» ignore-revs-file
we can now track these commits and let git ignore them when doing blame,
which removes the main reason for avoiding these mass changes.
2023-05-11 03:39:50 +02:00

10 lines
164 B
Bash
Executable File

#!/bin/sh
set -e
if [ -e .git ] && command -v git >/dev/null 2>&1; then
git config blame.ignoreRevsFile .git-blame-ignore-revs
fi
autoreconf --force --install