From: Sergei Organov <osv@javad.com>
To: Alexandre Julliard <julliard@winehq.org>
Cc: git@vger.kernel.org, gitster@pobox.com
Subject: Re: [PATCH] git.el: automatically revert emacs buffers
Date: Thu, 07 Feb 2008 16:03:53 +0300 [thread overview]
Message-ID: <87tzkk2a12.fsf@osv.gnss.ru> (raw)
In-Reply-To: <87ir10q5yy.fsf@wine.dyndns.org> (Alexandre Julliard's message of "Thu\, 07 Feb 2008 13\:57\:41 +0100")
Alexandre Julliard <julliard@winehq.org> writes:
> Sergei Organov <osv@javad.com> writes:
>
>> If new custom variable git-auto-revert is 't', after git-revert-file,
>> revert corresponding emacs buffers from reverted files provided the
>> buffers were not changed. This is how pcl-cvs behaves.
>>
>> * git-auto-revert: new customizable variable.
>> * git-revert-some-buffers: new function.
>> * git-revert-file: call git-revert-some-buffers.
>
> I had implemented this a bit differently in the patch series I just
> sent, I did it the VC way by also checking for modified buffers and
> refusing to revert their corresponding files. I didn't add a custom
> variable for it though, so I'll merge that part of your patch.
I don't think the custom variable is necessary. I added it only because
PCL-CVS had it, even though I didn't ever customize it in PCL-CVS. So
please feel free to drop my patch entirely.
-- Sergei Organov.
next prev parent reply other threads:[~2008-02-07 13:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 18:07 [PATCH] git.el: automatically revert emacs buffers Sergei Organov
2008-02-07 12:57 ` Alexandre Julliard
2008-02-07 13:03 ` Sergei Organov [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-21 18:07 Sergei Organov
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=87tzkk2a12.fsf@osv.gnss.ru \
--to=osv@javad.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=julliard@winehq.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