From: Junio C Hamano <gitster@pobox.com>
To: Fredrik Gustafsson <iveqy@iveqy.com>
Cc: git@vger.kernel.org, hvoigt@hvoigt.net, jens.lehmann@web.de
Subject: Re: [PATCH v4 1/2] push: Don't push a repository with unpushed submodules
Date: Sat, 20 Aug 2011 23:48:48 -0700 [thread overview]
Message-ID: <7vmxf3xnsf.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <7vippszj70.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Fri, 19 Aug 2011 23:32:51 -0700")
Junio C Hamano <gitster@pobox.com> writes:
> Junio C Hamano <gitster@pobox.com> writes:
>
>> What I meant was more along the lines of the following, but I think we
>> would need a new kind of callback that can take N-way parents (which is
>> not depicted here).
>>
>> Let me cook up something and get back to you later tonight.
>
> And here is a two-patch series to do just that.
>
> The first one is meant for you to use, and the second one is a sample
> application of the new machinery.
>
> -- >8 --
> Subject: [PATCH 1/2] combine-diff: support format_callback
>
> This teaches combine-diff machinery to feed a combined merge to a callback
> function when DIFF_FORMAT_CALLBACK is specified.
After removing the change to combine-diff.c from your two-patch series, I
applied them on top of this one, and queued the result in 'pu'.
While I tried to be careful while doing this callback-for-combine-diff
patch so that a callback function written for two-way diff can be used
without any change as long as it does not care about the LHS (i.e. "one")
of the filepair, please double check. I didn't read your change to
submodule.c very carefully (and I didn't have to change it).
The result seems to pass your new tests ;-).
next prev parent reply other threads:[~2011-08-21 6:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 22:08 [PATCH v4 0/2] push: submodule support Fredrik Gustafsson
2011-08-19 22:08 ` [PATCH v4 1/2] push: Don't push a repository with unpushed submodules Fredrik Gustafsson
2011-08-19 23:26 ` Junio C Hamano
2011-08-20 6:32 ` Junio C Hamano
2011-08-21 6:48 ` Junio C Hamano [this message]
2011-08-22 19:47 ` Heiko Voigt
2011-08-22 22:22 ` Junio C Hamano
2011-08-23 19:45 ` Heiko Voigt
2011-08-24 21:14 ` [WIP PATCH] revision-walking: allow iterating revisions multiple times Heiko Voigt
2011-08-24 21:44 ` Junio C Hamano
2011-08-20 6:34 ` [PATCH 2/2] demonstrate format-callback used in combined diff Junio C Hamano
2011-08-21 21:55 ` Fredrik Gustafsson
2011-08-19 22:08 ` [PATCH v4 2/2] push: teach --recurse-submodules the on-demand option Fredrik Gustafsson
2011-09-02 18:21 ` Junio C Hamano
[not found] ` <20111017190749.GA3126@sandbox-rc>
2011-10-17 22:33 ` Junio C Hamano
2011-10-18 20:58 ` Jens Lehmann
2011-12-12 21:16 ` Phil Hord
2011-12-12 22:29 ` Jens Lehmann
2011-12-12 23:50 ` Phil Hord
2011-12-13 8:48 ` Jens Lehmann
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=7vmxf3xnsf.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=hvoigt@hvoigt.net \
--cc=iveqy@iveqy.com \
--cc=jens.lehmann@web.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;
as well as URLs for NNTP newsgroup(s).