## Lesson — Explicitly check for empty or missing SHA flags in git

**Tags:** git, shell, dx

Explicitly check for empty or missing SHA flags in git hooks to provide specific 'missing validation' errors rather than generic, misleading 'non-ancestor commit' messages.
