diff-related improvements and enhancements
This patch series makes a number of diff-related improvements and enhancements. Highlights include:
- When editing/amending the commit comment, the boilerplate now includes a diff of changes to be committed.
-
src diff
andsrc log
accept-b
&-w
to ignore whitespace changes, akin todiff(1)
. -
git log -p 1
shows a big bang creation diff (previously no diff was shown for the first revision). -
src commit
no longer confusingly opens the editor if the file has not been changed; instead it aborts with a "no changes to commit" message. - Commands now operate on all managed files when none are specified explicitly, which matches their long-documented behavior.
A number of bugs are also fixed by this series.