未验证 提交 d5e692e7 编写于 作者: J Joao Moreno

smart commit should be aware of handleUntracked

上级 82abb9e5
......@@ -1421,6 +1421,10 @@ export class CommandCenter {
opts.all = 'tracked';
}
if (opts.all && config.get<'withchanges' | 'separate' | 'hide'>('handleUntracked') !== 'withchanges') {
opts.all = 'tracked';
}
await repository.commit(message, opts);
const postCommitCommand = config.get<'none' | 'push' | 'sync'>('postCommitCommand');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册