unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Magit is very slow with Guix's Git checkout
@ 2019-06-18  4:04 Chris Marusich
  2019-06-18  7:17 ` Andy Wingo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Marusich @ 2019-06-18  4:04 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

Hi,

I've been learning to use Magit more and more, and I really enjoy it.
However, I've noticed that it takes a very long time (minutes) to give
control back to me when I run "M-x magit-status" in my Guix checkout.

Am I doing something wrong?  Is there a way to avoid this slowdown?
Magit is great, but it's painfully slow when I try to use it to interact
with the Guix's Git repository.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Magit is very slow with Guix's Git checkout
  2019-06-18  4:04 Magit is very slow with Guix's Git checkout Chris Marusich
@ 2019-06-18  7:17 ` Andy Wingo
  2019-06-18  7:40 ` Christopher Baines
  2019-06-18  7:47 ` Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2019-06-18  7:17 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel

On Tue 18 Jun 2019 06:04, Chris Marusich <cmmarusich@gmail.com> writes:

> I've been learning to use Magit more and more, and I really enjoy it.
> However, I've noticed that it takes a very long time (minutes) to give
> control back to me when I run "M-x magit-status" in my Guix checkout.
>
> Am I doing something wrong?  Is there a way to avoid this slowdown?
> Magit is great, but it's painfully slow when I try to use it to interact
> with the Guix's Git repository.

Apparently issues like https://github.com/magit/magit/issues/3808 are
being systematically closed in favor of a plan to compute diffs in two
steps.  However I don't entirely understand the argument as magit-status
on a clean tree should be free.  I share the frustration.

Andy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Magit is very slow with Guix's Git checkout
  2019-06-18  4:04 Magit is very slow with Guix's Git checkout Chris Marusich
  2019-06-18  7:17 ` Andy Wingo
@ 2019-06-18  7:40 ` Christopher Baines
  2019-06-18  7:47 ` Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2019-06-18  7:40 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]


Chris Marusich <cmmarusich@gmail.com> writes:

> I've been learning to use Magit more and more, and I really enjoy it.
> However, I've noticed that it takes a very long time (minutes) to give
> control back to me when I run "M-x magit-status" in my Guix checkout.
>
> Am I doing something wrong?  Is there a way to avoid this slowdown?
> Magit is great, but it's painfully slow when I try to use it to interact
> with the Guix's Git repository.

This is probably due to the po directory containing lots of changes. I
normally get rid of these changes, as I never intentionally changed
anything in that directory. Magit is probably slow as it's rendering the
diffs for large files, so I'd watch out for what changes you have in the
repository if Magit is slow.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Magit is very slow with Guix's Git checkout
  2019-06-18  4:04 Magit is very slow with Guix's Git checkout Chris Marusich
  2019-06-18  7:17 ` Andy Wingo
  2019-06-18  7:40 ` Christopher Baines
@ 2019-06-18  7:47 ` Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2019-06-18  7:47 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel


Hi Chris,

> I've been learning to use Magit more and more, and I really enjoy it.
> However, I've noticed that it takes a very long time (minutes) to give
> control back to me when I run "M-x magit-status" in my Guix checkout.
>
> Am I doing something wrong?  Is there a way to avoid this slowdown?

Run “git checkout -- po” to undo the automatically generated changes to
the “po” directory, which in my experience is responsible for the slow
down.

--
Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-18  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18  4:04 Magit is very slow with Guix's Git checkout Chris Marusich
2019-06-18  7:17 ` Andy Wingo
2019-06-18  7:40 ` Christopher Baines
2019-06-18  7:47 ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).