Re: How to undo previously set configuration?
- Date: Fri, 6 Apr 2018 17:57:39 +0100
- From: Rafael Ascensao <rafa.almas@xxxxxxxxx>
- Subject: Re: How to undo previously set configuration?
On Fri, Apr 6, 2018 at 4:55 PM, Olaf Hering <olaf@xxxxxxxxx> wrote: > > This does not work. Initially I copied the global config into the repo and set all unwanted values to <empty>, like 'smtpuser='. Perhaps the config parser recognized that fact, but the consumer does not? > Today someone asked on #git for a way to disable diff.external for a single command. Without thinking much I suggested $git -c diff.external= diff; which fails with: `fatal: cannot run : No such file or directory` In this particular case there was `--no-ext-diff` to get around this and the case was promptly resolved. Just another another example where setting configuration values to "empty" doesn't translate to "disable this option".
- Follow-Ups:
- Re: How to undo previously set configuration?
- From: Jeff King
- Re: How to undo previously set configuration?
- References:
- How to configure sendemail for no-auth?
- From: Olaf Hering
- How to undo previously set configuration?
- From: Ævar Arnfjörð Bjarmason
- Re: How to undo previously set configuration?
- From: Olaf Hering
- Re: How to undo previously set configuration?
- From: Ævar Arnfjörð Bjarmason
- Re: How to undo previously set configuration?
- From: Olaf Hering
- Re: How to undo previously set configuration?
- From: Jeff King
- Re: How to undo previously set configuration?
- From: Olaf Hering
- How to configure sendemail for no-auth?
- Prev by Date: Re: [PATCH] git-svn: avoid warning on undef readline()
- Next by Date: Re: How to undo previously set configuration?
- Previous by thread: Re: How to undo previously set configuration?
- Next by thread: Re: How to undo previously set configuration?
- Index(es):