Hi,

so, in guix repository we include ../etc/git/gitconfig in the
.git/config.  I get the motivation for that, but I wanted to raise a
down side that I encountered today.  I have fetched the upstream Guix
and went on to merge the updates, but got a merge conflict, in the
etc/git/gitconfig file.

That turned out to be somewhat unpleasant.  Magit stopped working.  Git
command line stopped working:

--8<---------------cut here---------------start------------->8---
$ git status
fatal: bad config line 10 in file .git/../etc/git/gitconfig
--8<---------------cut here---------------end--------------->8---

Once you realize what went wrong, it is not *that* hard to fix, but it
still was somewhat unpleasant surprise.

Could we re-think the practice and stop the including, especially since,
looking at the config file, only "important" part is the sendemail and
format, and both are going away due to Codeberg anyway?  The rest seems
to be mostly in the "nice to have" territory.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Reply via email to