scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

Git status output hangs after "changes to be committed" #241

Closed tekumara closed 5 years ago

tekumara commented 6 years ago

On both zsh and bash I get:

$ gs
 # On branch:   |  [*] => $e*
 #
 ➤ Changes to be committed
 #

And the output just hangs.

It's something specific to a repo, because other repos work fine.

omnikron commented 6 years ago

What is the output of git status – any weirdness?

tekumara commented 6 years ago

git status had nothing out of the ordinary, 2 changes not staged for commit, 2 untracked files.

I'm since made some additional commits, and now the problem has gone away.

tekumara commented 6 years ago

Now it's back. It appears to occur with there is a change to a large file. In my case, I made a single character addition to a 2.5MB CSV, which caused gs to freeze but git status works fine.

ghthor commented 6 years ago

Interesting, I'll try to reproduce in the morning. Thanks for this bug report!

On Oct 17, 2017 7:15 PM, "Oliver Mannion" notifications@github.com wrote:

Now it's back. It appears to occur with there is a change to a large file. In my case I made a single character addition to a 2.5MB CSV, which caused gs to freeze but git status works fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scmbreeze/scm_breeze/issues/241#issuecomment-337404908, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJyKje6VMD4R8JJx45lCfofE7TO4SZkks5stTUHgaJpZM4P0z_E .

ghthor commented 6 years ago

I repro this in a repo with lots of submodules. @tukushan was your repo using submodules at all?

tekumara commented 6 years ago

No submodules for me.

ghthor commented 6 years ago

I've seen this again in a repo without any submodules. Unable to nail this down.

EdvinOlofsson commented 5 years ago

Was this issue ever found? I'm having the same issue.

I can reproduce this with a clean git repo. For me it happens if I 'git mv' a file from one folder to another. psuedo example:

./repo/folder1/file1.txt ./repo/folder2/file2.txt cd repo git mv folder1/file1.txt folder2/ gs <-- hangs exactly like shown above.

I'm on Ubuntu 18.04.2