From: Chris Torek <chris.torek@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: "brian m. carlson" <sandals@crustytoothpaste.net>,
Christopher Lindee <christopher.lindee@webpros.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: [PATCH 0/2] Optionally support push options on up-to-date branches
Date: Thu, 14 Mar 2024 17:04:25 -0700 [thread overview]
Message-ID: <CAPx1Gvez4Ema9Yi-7Ei8OOkq9t8AXmBYN=yy948k_C+ZBKdXmw@mail.gmail.com> (raw)
In-Reply-To: <xmqqv85otmsb.fsf@gitster.g>
On Thu, Mar 14, 2024 at 4:37 PM Junio C Hamano <gitster@pobox.com> wrote:
> In any case, I am OK with the feature. I just was wondering if the
> end-user experience may become simpler and easier if we did not have
> to have a command line option.
Would it make sense for the *server* to request the option?
That is, you run:
git push server-remote ref
and if the server at server-remote "wants" to know about "no-op
pushes" because it will do something for this case, it says so.
If the server says nothing, the client doesn't bother with the no-op
pushes.
(This could be either per-ref or global, too.)
Chris
next prev parent reply other threads:[~2024-03-15 0:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 21:55 [PATCH 0/2] Optionally support push options on up-to-date branches Christopher Lindee
2024-03-13 22:58 ` Junio C Hamano
2024-03-14 22:55 ` brian m. carlson
2024-03-14 23:29 ` Junio C Hamano
2024-03-15 0:04 ` Chris Torek [this message]
2024-03-15 0:57 ` brian m. carlson
2024-03-15 0:19 ` Christopher Lindee
2024-03-15 15:42 ` Junio C Hamano
2024-03-15 0:39 ` brian m. carlson
2024-03-15 8:58 ` Christopher Lindee
2024-03-15 20:29 ` brian m. carlson
2024-03-15 0:11 ` Christopher Lindee
2024-03-14 23:08 ` Christopher Lindee
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPx1Gvez4Ema9Yi-7Ei8OOkq9t8AXmBYN=yy948k_C+ZBKdXmw@mail.gmail.com' \
--to=chris.torek@gmail.com \
--cc=christopher.lindee@webpros.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=sandals@crustytoothpaste.net \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).