diff mercurial/configitems.py @ 42273:0f01394457a0

commit: add ability to print file status after each successful invocation When commands.commit.post-status is enabled, `hg commit` will effectively run `hg status -mardu` after committing. It can help catch mistakes like not committing all needed files or not adding unknown files that should've been part of the just created commit.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 03 May 2019 14:11:16 +0800
parents d345627d104b
children 604c086ddde6
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri May 03 14:07:14 2019 +0800
+++ b/mercurial/configitems.py	Fri May 03 14:11:16 2019 +0800
@@ -202,6 +202,9 @@
     default=dynamicdefault,
 )
 _registerdiffopts(section='commands', configprefix='commit.interactive.')
+coreconfigitem('commands', 'commit.post-status',
+    default=False,
+)
 coreconfigitem('commands', 'grep.all-files',
     default=False,
 )