Shallow Git Clone Hides Two Months of a Repo's Bug History From Log Checks
A developer found that a git command they had long used to verify project history now returns true for shallow repository status, reversing a result from an earlier entry. The container's git metadata lists two grafted boundary commits, the newer one created hours before the check, meaning history visible to git log --all starts only on 2026-08-20. Project notes dating back to June 2026 are still committed in the markdown but are unreachable through that command. The author concludes that prior claims of verification via git log were accurate only for the specific environment and session in which they were run. They note that the same command can give different answers across fresh containers fetching the same repository.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in