"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: make it possible to ignore Git config file
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 23 Jul 2022 16:16:49 +0200

Download raw body.

Thread
Stefan Sperling <stsp@stsp.name> wrote:
> Omar found a test failure in test_rebase_no_author_info(), where the
> author from ~/.gitconfig will be used instead of having no author set.
> 
> This patch adds a switch we can use to ignore Git configuration settings.
> Git's config file contains some data we must not ignore, such as the
> repository format version (smart idea to store this in the user-facing
> config file, isn't it), and any enabled repository format extensions
> (if any of them are enabled then we must not touch the repository).
> 
> Once this is in, we can fix test_rebase_no_author_info() by setting
> this variable. It might also be useful in other situations, so I decided
> to document it instead of making it a hidden setting.
> 
> ok?

ok for me, it's better than the hack i proposed in get_author.

i'm still undecided if documenting it is a good idea or not, but nothing
is set on stone anyway.