Skip to content
Snippets Groups Projects
Commit 25897d77 authored by Matt Mackall's avatar Matt Mackall
Browse files

commit: mark internal-only option

parent 1f8287b4
No related branches found
No related tags found
No related merge requests found
......@@ -1475,6 +1475,7 @@
cctx = context.workingcommitctx(self, status,
text, user, date, extra)
# internal config: ui.allowemptycommit
allowemptycommit = (wctx.branch() != wctx.p1().branch()
or extra.get('close') or merge or cctx.files()
or self.ui.configbool('ui', 'allowemptycommit'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment