From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Shawn Landden <slandden@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: receive.denyCurrentBranch that allows pushing data, just not changing branch
Date: Sun, 26 May 2019 01:39:42 +0200 [thread overview]
Message-ID: <875zpyf6ip.fsf@evledraar.gmail.com> (raw)
In-Reply-To: <CA+49okox4CfSWgQrdAYrM=R3ZNThWgkEY9RZtDzOMxAVs5b7Dw@mail.gmail.com>
On Sat, May 25 2019, Shawn Landden wrote:
> It would be nice if when pushing to a checked out repo you could get
> up git to still push the commits, just not update the branch's HEAD.
How would this proposed feature differ from what
receive.denyCurrentBranch=false does now?
You have a commit X in a non-bare repo. Your checkout is checked-out to
X, your index has X's content in it, and the branch reference is at X.
Now you push Y to the branch reference, what would you like to have
happen to the checkout & index at this point?
prev parent reply other threads:[~2019-05-25 23:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-25 21:48 receive.denyCurrentBranch that allows pushing data, just not changing branch Shawn Landden
2019-05-25 23:39 ` Ævar Arnfjörð Bjarmason [this message]
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=875zpyf6ip.fsf@evledraar.gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=slandden@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 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.