My new Git utility `what-changed-twice` needs a new name
5 hours ago
- #perl
- #workflow
- #git
- Author's typical workflow involves committing changes that may not make sense initially, then cleaning them up later.
- The utility `what-changed-twice` (or Fred) helps identify files modified in multiple commits for easier grouping of related changes.
- It generates a report showing files changed more than once, along with abbreviated commit IDs where changes occurred.
- The report helps in deciding which changes to squash together during a rebase.
- Commits not mentioned in the report can be reordered without causing conflicts, as they only contain changes to files modified once.
- The utility is written in Perl, contrasting with the author's usual preference for Python.