From: Sam Vilain <sam@vilain.net>
To: Martin Langhoff <martin.langhoff@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Multi-headed branches (hydra? :)) for basic patch calculus
Date: Mon, 03 Apr 2006 14:09:42 +1200 [thread overview]
Message-ID: <443083E6.9090204@vilain.net> (raw)
In-Reply-To: <46a038f90604021815g453c57c9pf95a0f70a62f2fbc@mail.gmail.com>
Martin Langhoff wrote:
>On 4/2/06, Sam Vilain <sam@vilain.net> wrote:
>
>
>>If the plumbing or a porcelain could be smart enough to automatically
>>create hydra when patches are not dependent, then many of the benefits
>>of patch calculus might come for free, without having to create these
>>complicated sounding entities manually.
>>
>>
>
>I'm not too excited about the benefits of patch calculus -- it seems
>to break many general usage scenarios(*) and I haven't seen many
>examples of those benefits that aren't a bit contrived.
>
>* - For instance: the common practice of having a patch series where
>you create a new function and later add calls to it breaks quite
>seriously under patch calculus.
>
>
Perhaps. But forget the darcs implementation for a moment.
When you make a commit, you're labelling it with the previous dependent
commit for this commit to apply.
So, git-commit-hydra would do this calculation based on the files
changed. git-commit would assume the prior commit. You still have both
options available.
>Are there common usage scenarios where patch calculus helps more than
>it hurts? Preferrably without involving manual recording of
>dependencies or full language parsers that guess them.
>
>
I am in the process of converting a live repository as if it had been
committed to in this manner. I'll post results shortly.
Sam.
prev parent reply other threads:[~2006-04-03 2:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-02 4:07 Multi-headed branches (hydra? :)) for basic patch calculus Sam Vilain
2006-04-02 6:49 ` Jakub Narebski
2006-04-02 23:15 ` Sam Vilain
2006-04-03 4:10 ` Jakub Narebski
2006-04-02 16:11 ` J. Bruce Fields
2006-04-02 16:30 ` Patch calculus Jakub Narebski
2006-04-02 17:03 ` Jakub Narebski
2006-04-03 1:15 ` Multi-headed branches (hydra? :)) for basic patch calculus Martin Langhoff
2006-04-03 2:09 ` Sam Vilain [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
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=443083E6.9090204@vilain.net \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
--cc=martin.langhoff@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.
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).