All of lore.kernel.org
 help / color / mirror / Atom feed
From: "SZEDER Gábor" <szeder.dev@gmail.com>
To: Kurt Ablinger <kurt.ablinger@bs-ag.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: repeated empty section in config of repository
Date: Wed, 10 Apr 2019 16:57:21 +0200	[thread overview]
Message-ID: <20190410145721.GI8796@szeder.dev> (raw)
In-Reply-To: <32db4d5189264ab791704cce91d6efaf@bs-ag.com>

On Wed, Apr 10, 2019 at 11:51:03AM +0000, Kurt Ablinger wrote:
> Hello, 
> 
> I am not sure if this can be problem - at least it is proably not correct:
> 
> when adding a key to an empty section and deleting the key so that the section is empty again,
> every add adds the section-name again - example:
> 
> git config gc.autoDetach false ; git config --unset gc.autoDetach ; cat config
> [gc]
> 
> git config gc.autoDetach false ; git config --unset gc.autoDetach ; cat config
> [gc]
> [gc]
> 
> git config gc.autoDetach false ; git config --unset gc.autoDetach ; cat config
> [gc]
> [gc]
> [gc]
> 
> Git-version is 2.17.0
> Linux - Cent/OS: 2.6.32-754.10.1.el6.x86_64 - GNU/Linux

This was a known issue, but not a serious one, in the sense that it
didn't affect correctness of configuration parsing.

It was mostly fixed in v2.18.0.



  reply	other threads:[~2019-04-10 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 11:51 repeated empty section in config of repository Kurt Ablinger
2019-04-10 14:57 ` SZEDER Gábor [this message]
2019-04-10 16:35 ` Elijah Newren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190410145721.GI8796@szeder.dev \
    --to=szeder.dev@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kurt.ablinger@bs-ag.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.