From: Jonathan Nieder <jrnieder@gmail.com>
To: Jeff King <peff@peff.net>
Cc: Romuald Brunet <romuald@chivil.com>,
git@vger.kernel.org, Matthieu Moy <Matthieu.Moy@imag.fr>,
Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] push: allow atomic flag via configuration
Date: Fri, 24 Mar 2017 11:53:54 -0700 [thread overview]
Message-ID: <20170324185354.GE31294@aiede.mtv.corp.google.com> (raw)
In-Reply-To: <20170324184550.3l6mw4ybynizblsm@sigill.intra.peff.net>
Hi,
Jeff King wrote:
> On Fri, Mar 24, 2017 at 06:17:54PM +0100, Romuald Brunet wrote:
>> Added a "push.atomic" option to git-config to allow site-specific
>> configuration of the atomic flag of git push
>
> I don't really use --atomic myself, but this seems like a reasonable
> thing to want, and the implementation looks cleanly done.
>
> My one question would be whether people would want this to actually be
> specific to a particular remote, and not just on for a given repository
> (your "site-specific" in the description made me think of that). In that
> case it would be better as part of the remote.* config.
I didn't receive the original patch (maybe mailing delay?) so
commenting here.
I use --atomic sometimes, but it's tied to the specific context of
what I'm trying to push.
I'd be interested to hear more about the use case. Do you want pushes
to be atomic opportunistically when the server supports that
(analogous to push.gpgSign=if-asked)?
This also seems likely to break scripts that rely on the current
non-atomic behavior, so without knowing more about the use case it's
hard to see how to proceed.
Thanks and hope that helps,
Jonathan
next prev parent reply other threads:[~2017-03-24 18:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 17:17 [PATCH] push: allow atomic flag via configuration Romuald Brunet
2017-03-24 18:45 ` Jeff King
2017-03-24 18:53 ` Jonathan Nieder [this message]
2017-03-24 19:01 ` Jeff King
2017-03-24 19:29 ` Junio C Hamano
2017-03-27 8:27 ` Romuald Brunet
2017-03-28 0:51 ` Jonathan Nieder
2017-03-27 9:30 ` Ævar Arnfjörð Bjarmason
2017-03-27 9:33 ` Ævar Arnfjörð Bjarmason
2017-03-27 16:59 ` Junio C Hamano
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=20170324185354.GE31294@aiede.mtv.corp.google.com \
--to=jrnieder@gmail.com \
--cc=Matthieu.Moy@imag.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
--cc=romuald@chivil.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