config: avoid a funny sentinel value "a^"
commitc1063be2a3e14ac042db4fe9b9bcea8f2768886a
authorJeff King <peff@peff.net>
Tue, 19 Aug 2014 06:20:00 +0000 (19 02:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2014 23:33:54 +0000 (11 16:33 -0700)
tree2859019665ab4774fe6699ae06d0aa67e17ae8db
parentc8466645edd1413c7efed824f5bddac457eb77f9
config: avoid a funny sentinel value "a^"

Introduce CONFIG_REGEX_NONE as a more explicit sentinel value to say
"we do not want to replace any existing entry" and use it in the
implementation of "git config --add".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c
cache.h
config.c