Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] [pre-commit] Two symlink fixes
@ 2026-09-01 20:27 Tom de Vries
  2026-09-01 20:27 ` [PATCH 1/2] [pre-commit] Reject symlinks in check-file-mode Tom de Vries
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tom de Vries @ 2026-09-01 20:27 UTC (permalink / raw)
  To: gdb-patches

This series has two patches.

The first extends check-file-mode to disallow symlinks.

The second adds a new pre-commit hook check-copies.

Tom de Vries (2):
  [pre-commit] Reject symlinks in check-file-mode
  [pre-commit] Add check-copies

 .pre-commit-config.yaml        | 15 ++++++-
 gdb/contrib/check-copies.py    | 54 ++++++++++++++++++++++++
 gdb/contrib/check-file-mode.sh | 77 +++++++++++++++++++++++-----------
 gdbserver/.shellcheckrc        |  4 +-
 gdbsupport/.shellcheckrc       |  4 +-
 5 files changed, 126 insertions(+), 28 deletions(-)
 create mode 100755 gdb/contrib/check-copies.py
 mode change 120000 => 100644 gdbserver/.shellcheckrc
 mode change 120000 => 100644 gdbsupport/.shellcheckrc


base-commit: 6f24afa4391bd33f1263378280b99385d2c13055
-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-15  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 20:27 [PATCH 0/2] [pre-commit] Two symlink fixes Tom de Vries
2026-09-01 20:27 ` [PATCH 1/2] [pre-commit] Reject symlinks in check-file-mode Tom de Vries
2026-09-01 20:27 ` [PATCH 2/2] [pre-commit] Add check-copies Tom de Vries
2026-09-15  6:54 ` [PATCH 0/2] [pre-commit] Two symlink fixes Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox