From: Junio C Hamano <junkio@cox.net>
To: jon@blackcubes.dyndns.org
Cc: git@vger.kernel.org
Subject: Re: Semantics for one step undo/redo
Date: Tue, 14 Jun 2005 08:01:16 -0700 [thread overview]
Message-ID: <7voea93rur.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <2cfc403205061406507af5a66@mail.gmail.com> (Jon Seymour's message of "Tue, 14 Jun 2005 23:50:02 +1000")
>>>>> "JS" == Jon Seymour <jon.seymour@gmail.com> writes:
JS> I think my approach differs a little from Junio's (but I haven't
JS> analysed his deeply) in that the redolog is actually just the slightly
JS> edited output of git-rev-list --merge-order --parents head base [ the
JS> edits removes from the list the parallel branches that aren't actually
JS> involved in the undo ]
JS> Comments?
I've only took a brief glance at your description and found it
quite sensible. I did not find anything majorly wrong.
If you are talking about jit-rewind (I think the message I told
you about it was not sent to the list, so the list audience may
not know about it, by the way), there is not much to analyze.
It populates the snapshot pool with the commits in the specified
commit chain, and after that it is totally up to the user what
to do with them, hence there is no redo semantics attached to
it. JIT way of doing things is generally more dangerous in that
it gives you so much more flexibility that it lets you freely
shoot yourself in the foot ;-). When the core Plumbing side
stabilizes I may revisit updating JIT to make certain parts of
it not so sharp-edged, but I have been busy futzing with the
Plumbing side lately, and having found not much need to change
JIT, haven't done much about updating my own Porcelain.
prev parent reply other threads:[~2005-06-14 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 13:50 Semantics for one step undo/redo Jon Seymour
2005-06-14 13:54 ` Jon Seymour
2005-06-14 15:01 ` Junio C Hamano [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=7voea93rur.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=jon@blackcubes.dyndns.org \
/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).