#!/bin/bash # Pre-commit hook for clang-format # Format staged changes before commit git clang-format --staged --quiet