Revision 6b3020a241e2c0a1eaa6b74a10a796603bb90975 authored by Jonathan Nieder on 01 December 2010, 18:36:15 UTC, committed by Junio C Hamano on 01 December 2010, 21:40:12 UTC
The "[add] ignore-errors" tweakable introduced by v1.5.6-rc0~30^2 (Add
a config option to ignore errors for git-add, 2008-05-12) does not
follow the usual convention for naming values in the git configuration
file.

What convention?  Glad you asked.

	The section name indicates the affected subsystem.

	The subsection name, if any, indicates which of
	an unbound set of things to set the value for.

	The variable name describes the effect of tweaking
	this knob.

	The section and variable names can be broken into
	words using bumpyCaps in documentation as a hint to
	the reader.  These word breaks are not significant
	at the level of code, since the section and variable
	names are not case sensitive.

The name "add.ignore-errors" includes a dash, meaning a naive
configuration file like

	[add]
		ignoreErrors

does not have any effect.  Avoid such confusion by renaming to the
more consistent add.ignoreErrors, but keep the old version for
backwards compatibility.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 593ce2b
History
File Mode Size
fnmatch
nedmalloc
regex
vcbuild
win32
basename.c -rw-r--r-- 334 bytes
bswap.h -rw-r--r-- 1.0 KB
cygwin.c -rw-r--r-- 4.8 KB
cygwin.h -rw-r--r-- 275 bytes
fopen.c -rw-r--r-- 931 bytes
hstrerror.c -rw-r--r-- 513 bytes
inet_ntop.c -rw-r--r-- 4.9 KB
inet_pton.c -rw-r--r-- 6.9 KB
memmem.c -rw-r--r-- 752 bytes
mingw.c -rw-r--r-- 37.0 KB
mingw.h -rw-r--r-- 7.8 KB
mkdtemp.c -rw-r--r-- 153 bytes
mmap.c -rw-r--r-- 747 bytes
msvc.c -rw-r--r-- 575 bytes
msvc.h -rw-r--r-- 1.1 KB
pread.c -rw-r--r-- 433 bytes
qsort.c -rw-r--r-- 1.1 KB
setenv.c -rw-r--r-- 786 bytes
snprintf.c -rw-r--r-- 1.4 KB
strcasestr.c -rw-r--r-- 431 bytes
strlcpy.c -rw-r--r-- 247 bytes
strtoumax.c -rw-r--r-- 217 bytes
unsetenv.c -rw-r--r-- 558 bytes
win32.h -rw-r--r-- 872 bytes
win32mmap.c -rw-r--r-- 904 bytes
winansi.c -rw-r--r-- 6.9 KB

back to top