From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70830 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync and the new nnimap Date: Tue, 14 Sep 2010 08:17:55 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd68cvlo.fsf@lifelogs.com> References: <8739tcd2jx.fsf@lifelogs.com> <87vd68a8ea.fsf@lifelogs.com> <87wrqoikf5.fsf@newton.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1284470417 21871 80.91.229.12 (14 Sep 2010 13:20:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 13:20:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19203@lists.math.uh.edu Tue Sep 14 15:20:16 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvVQk-0004ZG-0o for ding-account@gmane.org; Tue, 14 Sep 2010 15:20:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OvVQd-0003ak-VV; Tue, 14 Sep 2010 08:20:08 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OvVQc-0003aW-Ls for ding@lists.math.uh.edu; Tue, 14 Sep 2010 08:20:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OvVQb-0002H6-Lw for ding@lists.math.uh.edu; Tue, 14 Sep 2010 08:20:06 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OvVQb-0008G3-00 for ; Tue, 14 Sep 2010 15:20:05 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OvVQa-0004V1-NW for ding@gnus.org; Tue, 14 Sep 2010 15:20:04 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 15:20:04 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 15:20:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:YA72dyW1ZdN4zx4yO3CgjVsFjWM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70830 Archived-At: On Tue, 14 Sep 2010 14:22:54 +0200 "Jose A. Ortega Ruiz" 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 wrote: ŠN> ... and `git revert ' 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. Ted