From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Karl Hasselström" <kha@treskal.com>
Cc: git@vger.kernel.org, "Alex Chiang" <achiang@hp.com>,
"Angus Salkeld" <ahsalkeld@gmail.com>
Subject: Re: StGit: kha/safe and kha/experimental updated
Date: Tue, 25 Mar 2008 10:52:43 +0000 [thread overview]
Message-ID: <b0943d9e0803250352g2c6d441cke3bcff5d9c0ee769@mail.gmail.com> (raw)
In-Reply-To: <20080324182647.GD23337@diana.vm.bytemark.co.uk>
On 24/03/2008, Karl Hasselström <kha@treskal.com> wrote:
> On 2008-03-20 15:25:04 +0000, Catalin Marinas wrote:
>
> > We can even add aliases for 'undo' and 'redo'.
>
>
> It's not entirely clear (to me at least) exactly what undo and redo
> should do. Something like this maybe:
>
> undo: If the log begins with k "undo" entries (k >= 0), reset to
> log~(2k+1).
>
> redo: Find the most recent "undo" entry that hasn't been cancelled
> out by a "redo". If this is the most recent log entry (except
> the cancelled-out ones), reset to it; otherwise, complain that
> the last command was not an undo or redo.
>
> I _think_ this does what one naively expects undo and redo to do.
Yes, something like this. Anyway, this can be explained in the help
without adding separate commands (at least for now).
--
Catalin
next prev parent reply other threads:[~2008-03-25 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 1:28 StGit: kha/safe and kha/experimental updated Karl Hasselström
2008-03-19 1:38 ` Karl Hasselström
2008-03-20 15:25 ` Catalin Marinas
2008-03-24 18:26 ` Karl Hasselström
2008-03-25 10:52 ` Catalin Marinas [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-10 20:36 Karl Hasselström
2008-02-12 17:54 ` Catalin Marinas
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=b0943d9e0803250352g2c6d441cke3bcff5d9c0ee769@mail.gmail.com \
--to=catalin.marinas@gmail.com \
--cc=achiang@hp.com \
--cc=ahsalkeld@gmail.com \
--cc=git@vger.kernel.org \
--cc=kha@treskal.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 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).