git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: "Karl Hasselström" <kha@treskal.com>
Cc: Catalin Marinas <catalin.marinas@gmail.com>, git@vger.kernel.org
Subject: Re: "stg reset --status" doesn't just reset status
Date: Wed, 02 Apr 2008 13:30:24 -0400	[thread overview]
Message-ID: <1207157424.5828.16.camel@dv> (raw)
In-Reply-To: <20080402120026.GA17241@diana.vm.bytemark.co.uk>

On Wed, 2008-04-02 at 14:00 +0200, Karl Hasselström wrote:

> (I assume "stg reset --status" is just a typo for "stg status
> --reset"?)

Exactly.  "stg status --reset" is so against the logic that I could not
even write it properly :)

> I'd be fine with removing status --reset, but since there is currently
> no other way to do this in StGit, I expect Catalin would object. (As I
> recall, that's precisely what happened when I did try to remove it
> some time ago.)

1) stg diff | patch -Rp1
2) stg new -m "trash" trash; stg refresh; stg delete trash

Besides, I don't think everything should be easily doable from stgit.

> I'm currently (slowly) working on an "stg reset" command that'll be
> able to reset the stack to any prior state. It could be made to reset
> to the most recent recorded state if no extra argument is given, which
> I think would make it do what you want.

Sounds good.  Thank you!

-- 
Regards,
Pavel Roskin

      reply	other threads:[~2008-04-02 17:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02  2:21 "stg reset --status" doesn't just reset status Pavel Roskin
2008-04-02 12:00 ` Karl Hasselström
2008-04-02 17:30   ` Pavel Roskin [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=1207157424.5828.16.camel@dv \
    --to=proski@gnu.org \
    --cc=catalin.marinas@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).