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

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Thu Jan 31 17:47:02 EST 2019


spectral added a comment.


  > I could see this being something like the following, to make it look at commands.commit.interactive.ignorews (and others):
  > 
  >   diffopts = patch.difffeatureopts(repo.ui, section='commands', configprefix='commit.interactive.', whitespace=True)
  >    
  >    
  > 
  > I think I like that option, I'll send a patch for it.
  
  When writing the commit description for that patch, I mentioned several times how I don't expect anyone to actually use the new config options I was creating.  I think I'll go a different direction: just add support to difffeatureopts to ignore the config (only respect commandline flags).

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5744

To: spectral, #hg-reviewers
Cc: navaneeth.suresh, mercurial-devel


More information about the Mercurial-devel mailing list