From: Junio C Hamano Date: Thu, 02 Jul 2026 20:28:40 GMT Subject: Re: [PATCH v5 0/4] history: add squash subcommand to fold a range Message-ID: In-Reply-To: Patrick Steinhardt writes: > Yeah, agreed. I think that the reflog is insufficient for a lot of Git's > operations and that it is way too hard to reason about. As the reflog has never been about undoing, this is understandable. Things like @{-N} notation and "git push --force-if-includes" make good use of the "what was this ref pointing at historically?" information, so they give us a proof that it is possible to programmatically go back and find the necessary state, though.