Git development
 help / color / mirror / Atom feed
From: Alexandre Julliard <julliard@winehq.org>
To: Sergei Organov <osv@javad.com>
Cc: git@vger.kernel.org, gitster@pobox.com
Subject: Re: [PATCH] git.el: automatically revert emacs buffers
Date: Thu, 07 Feb 2008 13:57:41 +0100	[thread overview]
Message-ID: <87ir10q5yy.fsf@wine.dyndns.org> (raw)
In-Reply-To: <874pcnh4ej.fsf@osv.gnss.ru> (Sergei Organov's message of "Mon, 21 Jan 2008 21:07:59 +0300")

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.

-- 
Alexandre Julliard
julliard@winehq.org

  reply	other threads:[~2008-02-07 12:58 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 [this message]
2008-02-07 13:03   ` Sergei Organov
  -- 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=87ir10q5yy.fsf@wine.dyndns.org \
    --to=julliard@winehq.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=osv@javad.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