Skip to content

Commit 394e150

Browse files
committed
config.txt: clarify that add.ignore-errors is deprecated
The old text gave an impression that even in a new repository using old form might be safer. Only Git from pre 1.7.0 days choke on the correctly named variable, which is ancient by today's standard. We have no intention to remove the support for deprecated ones, but let's make sure that we do not give room for confused questions such as "why does core.sparse-checkout not work, when add.ignore-errors does?" Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3c84ac8 commit 394e150

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Documentation/config.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -664,14 +664,13 @@ core.abbrev::
664664
for abbreviated object names to stay unique for sufficiently long
665665
time.
666666

667-
add.ignore-errors::
668667
add.ignoreErrors::
668+
add.ignore-errors::
669669
Tells 'git add' to continue adding files when some files cannot be
670670
added due to indexing errors. Equivalent to the '--ignore-errors'
671-
option of linkgit:git-add[1]. Older versions of Git accept only
672-
`add.ignore-errors`, which does not follow the usual naming
673-
convention for configuration variables. Newer versions of Git
674-
honor `add.ignoreErrors` as well.
671+
option of linkgit:git-add[1]. `add.ignore-errors` is deprecated,
672+
as it does not follow the usual naming convention for configuration
673+
variables.
675674

676675
alias.*::
677676
Command aliases for the linkgit:git[1] command wrapper - e.g.

0 commit comments

Comments
 (0)