Gnus development mailing list
 help / color / mirror / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: gnus-sync and the new nnimap
Date: Tue, 14 Sep 2010 19:08:35 +0200	[thread overview]
Message-ID: <874ods45ik.fsf@gmail.com> (raw)
In-Reply-To: <87vd68cvlo.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 14 Sep 2010 08:17:55 -0500")

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Tue, 14 Sep 2010 14:22:54 +0200 "Jose A. Ortega Ruiz" <jao@gnu.org> wrote:
>
> jao> On Tue, Sep 14 2010, Ted Zlatanov wrote:
>
>>> The changes for logging and cleanup were OK.
>>> 
>>> git log imap.el tells the revision you want, so then:
>>> 
>>> git diff -r cb950ed8ff3e0f40dac437a51b269166f9ffb60d imap.el
>
> jao> Also, one can use:
>
> jao>   git show cb950ed8ff3e0f40dac437a51b269166f9ffb60d:imap.el
>
> jao> to get the file as it was in the given version.
>
> On Tue, 14 Sep 2010 14:50:19 +0200 Štěpán Němec <stepnem@gmail.com> wrote: 
>
> ŠN> ... and `git revert <commit>' does exactly what you need -- it makes a
> ŠN> new commit undoing changes done by a previous commit.
>
> Yeah, `git show' works great.  I think it's good to check the diff first
> and I usually just make it into a patch since it's in my command history
> :) 
>
> I think `git revert' is not right because we want to note the changes in
> the ChangeLog instead of just undoing them.

Right... but you can still use `git revert -n' to prepare the commit(s) for
you and then perhaps just do `git checkout HEAD -- ChangeLog' to discard
the changes you don't want, edit etc.

Štěpán



  reply	other threads:[~2010-09-14 17:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14  7:55 tramp and the new nnimap? Steinar Bang
2010-09-14  8:05 ` gnus-sync and the new nnimap (Was: tramp and the new nnimap?) Steinar Bang
2010-09-14 10:47   ` gnus-sync and the new nnimap Ted Zlatanov
2010-09-14 10:54     ` Lars Magne Ingebrigtsen
2010-09-14 11:09       ` Ted Zlatanov
2010-09-14 12:22         ` Jose A. Ortega Ruiz
2010-09-14 13:17           ` Ted Zlatanov
2010-09-14 17:08             ` Štěpán Němec [this message]
2010-09-14 17:10           ` Lars Magne Ingebrigtsen
2010-09-14 12:50         ` Štěpán Němec
2010-09-14 12:54           ` Lars Magne Ingebrigtsen
2010-09-14 15:31             ` Lawrence Mitchell
2010-09-14 16:48               ` Štěpán Němec

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=874ods45ik.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=ding@gnus.org \
    --cc=tzz@lifelogs.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).