Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 38651:5e4027db52f4
grep: add config knob to enable/disable the default wdir search
This allows us to conditionally enable the new behavior to unbreak
python-hglib. See the next patch.
The config option is undocumented since the --all-files is still experimental
and isn't fully implemented. It can be moved to [experimental] if that's
preferred.
Differential Revision: https://phab.mercurial-scm.org/D3918
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 11 Jul 2018 21:51:47 +0900 |
parents | e3d18de56417 |
children | bfcd5c7cbf9a |
comparison
equal
deleted
inserted
replaced
38650:eba69ddd4e52 | 38651:5e4027db52f4 |
---|---|
185 default='auto', | 185 default='auto', |
186 ) | 186 ) |
187 coreconfigitem('color', 'pagermode', | 187 coreconfigitem('color', 'pagermode', |
188 default=dynamicdefault, | 188 default=dynamicdefault, |
189 ) | 189 ) |
190 coreconfigitem('commands', 'grep.all-files', | |
191 default=True, | |
192 ) | |
190 coreconfigitem('commands', 'show.aliasprefix', | 193 coreconfigitem('commands', 'show.aliasprefix', |
191 default=list, | 194 default=list, |
192 ) | 195 ) |
193 coreconfigitem('commands', 'status.relative', | 196 coreconfigitem('commands', 'status.relative', |
194 default=False, | 197 default=False, |