Re: [PATCH] grep: allow -E and -n to be turned on by default via configuration From: Junio C Hamano <hidden> Date: 2016-06-15 22:50:55 Junio C Hamano [off-list ref] writes: + if (!strcmp(var, "grep.extendedregexp")) { + opt->regflags |= git_config_bool(var, value) ? REG_EXTENDED : 0; + return 0; + } Heh, I am an idiot. This should be more like if (git_config_bool(var, value)) opt->regflags |= REG_EXTENDED; else opt->regflags &= ~REG_EXTENDED; return 0;
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help