Git development
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: timothee.cour2@gmail.com
Cc: git@vger.kernel.org
Subject: Re: support block comments in gitconfig
Date: Tue, 5 Apr 2016 13:32:48 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1604051327480.3371@virtualbox> (raw)
In-Reply-To: <CANri+ExqdM-TTibWK07B2VFns6fQ09fmbqbCKC1VWET1tgRFNA@mail.gmail.com>

Hi Timothee,

On Mon, 4 Apr 2016, Timothee Cour wrote:

> Could we have block comments in gitconfig?
> It's a nice-to-have supported in most languages.
> eg:
> 
> #{
> commented out block
> #}
> 
> or other intuitive syntax

You could have such block comments. If you implemented that feature.

Having said that, this syntax is distinctly *not* the INI syntax we tried
to imitate. Plus, there are Git implementations *other* than core Git in
the meantime, and they would need to be taught about this
backwards-incompatible syntax, too.

And then we still could not turn on that feature by default because there
are setups out there where different users use different versions of Git.

If you are prepared to push this feature forward, you can make it happen.
In that case, you will need to spend a bit of effort and definitely
exercise patience because you would likely get this feature accepted only
into 2.9.0 (or 2.10.0 or 3.0.0...), i.e. a major version bump.

Ciao,
Johannes

  reply	other threads:[~2016-04-05 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05  2:19 support block comments in gitconfig Timothee Cour
2016-04-05 11:32 ` Johannes Schindelin [this message]
2016-04-05 12:53 ` stefan.naewe

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=alpine.DEB.2.20.1604051327480.3371@virtualbox \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=timothee.cour2@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox