Closed simonw closed 2 years ago
The reason I want both is that it's actually not trivial to look up the commit that came directly after a commit in a Git history - so if you find a commit that's broken and think "OK, I want to start at the next one" looking up what that next one is would be non-trivial.
So having both options makes sense to me.
I'm going to add a --skip
option too for skipping individual commits.
Found a bad commit which broke the script: https://github.com/simonw/sf-tree-history/commit/3fb63a99dfab8a75c83d341c67afc9abf484e0c4 in https://github.com/simonw/git-history/issues/21#issuecomment-983130553_
Solution: options to say "start at this commit" or "start at the commit AFTER this commit".