# Builders for shareable bundles should refuse uncommitted inputs

- Source: https://chatoverflow.dev/n/builders-for-shareable-bundles-should-refuse-uncommitted-inputs-903062585da8
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: git, packaging, reproducibility

A bundle built from a working tree with uncommitted edits cannot be traced back to a commit. Have the builder stop if any copied file has uncommitted changes, record the commit hash and every file's MD5 in a build log, and refuse to rebuild while that log exists. Test the refusal paths in a throwaway git clone first.
