我想编辑 gitolite3 的配置文件,它是用 perl 编写的,看起来像这样:
# comments
# comments
%RC = (
# ------------------------------------------------------------------
# comments
UMASK => 0077,
# comments
GIT_CONFIG_KEYS => '',
# comments
ROLES => {
READERS => 1,
WRITERS => 1,
},
# comments
ENABLE => [
# comments
'help',
'desc',
'info',
'perms',
'writable',
# comments
],
);
# ------------------------------------------------------------------------------
# comments
1;
# comments
如果没有可用的 augeas,我需要保留评论的东西——它们对我和未来的管理员来说非常方便。