Re: [PATCH] git.el: automatically revert emacs buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sergei Organov <osv@xxxxxxxxx> 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@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux