chgserver: add [alias] to confighash

The [alias] config section affects a global state: commands.table. It's hard
to trace whether an alias is added by a config option or an extension, and
add/remove aliases in a safe way per chg request. It will hurt performance a
bit if we clean the table and parse aliases every time. Therefore let's just
add it to confighash.

This will make chg pass test-pager.t.
This commit is contained in:
Jun Wu 2016-05-07 14:51:32 +01:00
parent 3ff9373dab
commit 1de5a3a533

View File

@ -80,6 +80,7 @@ def _hashlist(items):
# sensitive config sections affecting confighash
_configsections = [
'alias', # affects global state commands.table
'extdiff', # uisetup will register new commands
'extensions',
]