There's an obvious upper bound. If you can't identify the last in-prod version that worked, and the first in-prod version that failed, then you have bigger problems than deciding whether to squash your commits.
By story number, by author, by timestamp, by looking for merge commits, by reading the commit messages - by common sense, basically. If someone has just pushed broken code to master, they usually know exactly what they've just pushed. This doesn't seem like a real problem to me.
gmfawcett|5 years ago
falcolas|5 years ago
blandflakes|5 years ago
twic|5 years ago
unknown|5 years ago
[deleted]
magicalhippo|5 years ago