From: Dmitry Gutov <dgutov@yandex.ru>
To: Tom Fitzhenry <tomfitzhenry@google.com>, 44534-done@debbugs.gnu.org
Subject: bug#44534: [PATCH] Remove extra process call from vc-hg-registered
Date: Tue, 10 Nov 2020 17:45:28 +0200 [thread overview]
Message-ID: <e7d38d0c-d508-2cc0-6e4b-f12b4fd347ce@yandex.ru> (raw)
In-Reply-To: <CAA2qF32D4tbZWPUA951KpxUavqW90tdNcy0nJBkCpToS0XFYBQ@mail.gmail.com>
Version: 28.1
On 09.11.2020 13:54, Tom Fitzhenry via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
> Prefer calling vc-state (rather than vc-hg-state) to benefit from the
> caching in vc-state.
>
> This same technique is used in vc-git.el, per commit "2018-06-28 "Remove
> extra process call from vc-git-find-file-hook"
> 93c41ce6aa64b14fc9bd7bdd0d909915a79191cd.
Makes sense, thanks! Pushed.
P.S. Next time please try to keep the line width within usual limits, I
had to fix the following linter errors:
Line longer than 78 characters in commit message
Word longer than 140 characters in commit message
Commit aborted; please see the file CONTRIBUTE
prev parent reply other threads:[~2020-11-10 15:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 11:54 bug#44534: [PATCH] Remove extra process call from vc-hg-registered Tom Fitzhenry via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-10 15:45 ` Dmitry Gutov [this message]
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=e7d38d0c-d508-2cc0-6e4b-f12b4fd347ce@yandex.ru \
--to=dgutov@yandex.ru \
--cc=44534-done@debbugs.gnu.org \
--cc=tomfitzhenry@google.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.