OK, digging into this a bit more:

First (and as you've probably surmised), I'm doing all this in a repo with
a lot of files in it.

Scenario:

* I modify one tracked file and add one untracked file. "git status" shows
the expected output (info about both the change and the untracked file).
* I do "git stash save -u", which executes apparently instantaneously. "git
status" shows "nothing to commit, working directory clean".
* I do "git stash show" and it shows "1 file changed, ...". I can't find an
option to make it say anything about untracked files in the stash.
* In Magit I attempt to look at the stash and as I described earlier it
hangs until I C-g out.
* I do "git stash pop" and both my modified tracked file and the untracked
file come back, as expected (and as shown by another "git status").

Hope that helps.

Nat

On Thu, Sep 8, 2016 at 3:36 PM Tim Visher <[email protected]> wrote:

> Hi Nathaniel,
>
> Notwithstanding the confusion between the --all and --include-untracked
> flags, it'd probably be useful to you to drop out of emacs and hit the
> shell and see what the git diff looks like there. It sounds like it might
> contain stuff you're not expecting at which point the problem really isn't
> in magit but in the state of git.
>
> If, on the other hand, the git diff is different in the CLI and in Magit
> then there's a problem here. :)
>
> On Wed, Sep 7, 2016 at 2:50 PM, Nathaniel Mishkin <[email protected]>
> wrote:
>
>> I did a "git stash -u" from a shell (although the equivalent in Magit
>> seems to cause the same problem) and when I try to examine the stash from
>> Magit, Emacs goes CPU-bound for...well, as long as I can stand before I
>> start banging C-g until it comes back, at which point it shows me a buffer
>> that has the look of including many, many files/diffs--maybe every file in
>> the repo?
>>
>> Anyone know what might be going on?
>>
>
>> --
>> 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.
>>
>

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