Ups.  I had --all and --include-untracked confused (which is kinda
strange, guess I was tired).

In anycase it seems that you have created a large commit even without
including ignored files and now it takes Magit a long time to parse the
resulting diff because there is a lot to be parsed.  I don't know what
else to say except that the speed of the diff parsing will be improved
eventually.

Nathaniel Mishkin <[email protected]> writes:

> The "git stash save" doc seems to be saying that "-u"
> ("--include-untracked") doesn't stash ignored files, only untracked files;
> and that "-a" ("--all") stashes ignored files as well as untracked files.
> So I wouldn't have thought I created an exceptionally large commit. Am I
> confused?
>
> On Wed, Sep 7, 2016 at 4:09 PM Jonas Bernoulli <[email protected]> wrote:
>
>> > I did a "git stash -u" ... Emacs goes CPU-bound
>> > Anyone know what might be going on?
>>
>> You created an exceptionally large commit and it now takes exceptionally
>> long to display the diff for that.  Did you really mean to create a
>> stash which includes all files in the repository, including those files
>> which are normally not tracked, e.g generated binaries?  If not, then
>> you should have used `--all', not `--include-untracked'.
>>

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to