Landing: 44285b2cbf21

Project / Subsystem

binutils / binutils

Date

2026-09-15

Author

Tom de Vries <vries@sourceware.org>

Commit

44285b2cbf2193881a01d993a9bacee878fe5ff9

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils
patch_id
—
commit_hash
44285b2cbf2193881a01d993a9bacee878fe5ff9
source_type
public_inbox
headline
binutils: Add pre-commit hook check-copies
tldr
Introduces a pre-commit hook to verify file copies, preventing errors from manual symlink management.
author
Tom de Vries <vries@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • binutils
  • • devops
  • • hook
  • • code quality
discussion_id_link
—
bugzilla_pr
—
date
2026-09-15T00:00:00.000Z

This commit adds a new pre-commit hook called check-copies to the binutils-gdb repository. The hook is designed to prevent errors that arise from maintaining identical files manually, which is prone to mistakes. It ensures that files intended to be copies are indeed exact copies and that no unintended files are treated as copies. The testsuite is excluded from this check to avoid complications with its specific file management practices.