D5744: commit: ignore diff whitespace settings when doing `commit -i` (issue5839)

Augie Fackler raf at durin42.com
Mon Feb 4 14:04:08 EST 2019



> On Feb 1, 2019, at 23:04, yuja (Yuya Nishihara) <phabricator at mercurial-scm.org> wrote:
> 
> I agree with that we would never set the `commands.commit.interactive.{...}`
> in hgrc, but the feature itself is useful if you have to work on unclean
> codebase unlike in Google. For example, I sometimes need to commit changes
> ignoring unrelated whitespace cleanups made by editor or code formatter,
> because I can't control the development workflow.
> 
> That's why I thought there would be users relying on the current behavior.

...this use case never occurred to me, and it's *awesome*. Very clever!


More information about the Mercurial-devel mailing list