unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lajos Bodnar <bodnarlajoska@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: help-gnu-emacs@gnu.org
Subject: Re: magit-status is slow
Date: Tue, 12 Jun 2018 11:06:29 +0200	[thread overview]
Message-ID: <CAPibjnk4sUrnEUjjrAqZ5J9A7LrP3i_2vd76C94iTGwqaJoX6w@mail.gmail.com> (raw)
In-Reply-To: <87a7s1gvlh.fsf@mbork.pl>

Thanks for the answer.
There are these lines in my init.el and a little better than before but
there is few freeze when I scrolling up or down ...

(defun start-magit()
  (interactive)
  (magit-status)
  (delete-other-windows))
(setq git-commit-summary-max-length 120)
(setq magit-diff-highlight-indentation nil)
(setq magit-diff-highlight-trailing nil)
(setq magit-diff-paint-whitespace nil)
(setq magit-diff-highlight-hunk-body nil)
(setq magit-diff-refine-hunk nil)

have a nice day
Lajos

On Mon, Jun 11, 2018 at 6:02 PM, Marcin Borkowski <mbork@mbork.pl> wrote:

>
> On 2018-06-11, at 17:10, Lajos Bodnar <bodnarlajoska@gmail.com> wrote:
>
> > Hi,
> > I have 200 files after refactoring and the magit is too slow.
> > I found that the diff is slow because the magit-status create diffing
> view
> > every modified files.
> > How can I reach that the magit-state create diffing view just when I work
> > with these files when I use the tab key to watch what the change was.
> >
> > Or any ideas ?
>
> It's a long shot, but do you have something like
>
> (setq magit-diff-refine-hunk t)
>
> in your init.el?  If yes, try disabling this.  (You can also press
> D t in magit fir that.)
>
> Best,
>
> --
> Marcin Borkowski
> http://mbork.pl
>


  reply	other threads:[~2018-06-12  9:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 15:10 magit-status is slow Lajos Bodnar
2018-06-11 16:02 ` Marcin Borkowski
2018-06-12  9:06   ` Lajos Bodnar [this message]
2018-06-15  4:53     ` Marcin Borkowski
2018-06-19 19:51       ` Lajos Bodnar

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPibjnk4sUrnEUjjrAqZ5J9A7LrP3i_2vd76C94iTGwqaJoX6w@mail.gmail.com \
    --to=bodnarlajoska@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).