From: Junio C Hamano <gitster@pobox.com>
To: Lasse Kliemann <lasse@lassekliemann.de>
Cc: git@vger.kernel.org
Subject: Re: Easy Non-Fast-Forward Pushes
Date: Wed, 04 Mar 2015 17:42:53 -0800 [thread overview]
Message-ID: <xmqqfv9k5iea.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <ygeioel2cw1.fsf@lassekliemann.de> (Lasse Kliemann's message of "Sun, 01 Mar 2015 12:08:46 +0100")
Lasse Kliemann <lasse@lassekliemann.de> writes:
> 1. Try pushing to origin/master. If it works, fine. If not, goto 2.
>
> 2. Push to the appropriate personal branch.
I wonder what happens to this user _after_ that change gets
integrated on the project side. Presumably somebody picks up the
change from the "personal branch", does necessary merge and updates
the master, so the next time "git pull" is done, it will
fast-forward?
I have a feeling that running trivial merges on the server-side when
a push is made, and immedately pulling that result back might help
such userbase who does not care too much about the history better,
instead of using the bare-metal 'git pull' and 'git push'. You'd be
scripting on the client side to do the above two steps for your end
users anyway, so it would not be too much of a stretch to make that
script a bit smarter still?
next prev parent reply other threads:[~2015-03-05 1:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 16:20 Easy Non-Fast-Forward Pushes Lasse Kliemann
2015-02-27 17:40 ` Stefan Beller
2015-03-01 11:08 ` Lasse Kliemann
2015-03-05 1:42 ` Junio C Hamano [this message]
2015-02-27 19:08 ` 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=xmqqfv9k5iea.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=lasse@lassekliemann.de \
/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