Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash hangs up after run "git log" and "CTRL+C" #1058

Closed
ztou opened this issue Feb 11, 2017 · 6 comments
Closed

bash hangs up after run "git log" and "CTRL+C" #1058

ztou opened this issue Feb 11, 2017 · 6 comments
Labels

Comments

@ztou
Copy link

ztou commented Feb 11, 2017

$ git --version --build-options

git version 2.11.0.windows.3
built from commit: e11df2efb3072fe73153442589129d2eb8d9ea02
sizeof-long: 4
machine: x86_64

reproducible steps:

  1. start bash with command:
    cmd /c "C:\Dropbox\opt\Git\bin\bash" --login -i

  2. make sure the pager is set to less
    git config --global core.pager less

  3. go to a git repo with enough commit history and run command
    git log (make sure it only show part of you history, usually, we can type "q" to quit)

  4. press CTRL+C

Result: bash hangs up

I think this might be the same issue as #227

@fourpastmidnight
Copy link

I've been everything the same with 2.11.1, but not 2.11.01. I'll fill in some details in a few hours.

@fourpastmidnight
Copy link

fourpastmidnight commented Feb 11, 2017

Here are those promised details.

So, I went to my normal installation of Git for Windows on my machine. Apparently, I had run this command around Feb 9, 9pm EST:

$ git log --oneline -n20

It still has not produced any output! Hitting CTRL+C does terminate the running git.exe process. The version of Git for Windows is 2.11.1.windows.1, 64-bit on Windows 10 AU:

$ git --version --build-options
git version 2.11.1.windows.1
built from commit: 1c1842bcba45569a84112ec64f72b08eb2d57c68
sizeof-long: 4
machine: x86_64

$ cmd.exe /c ver

Microsoft Windows [Version 10.0.14393]

$ cat /etc/install-options.txt
Path Option: Cmd
SSH Option: OpenSSH
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
Enable Builtin Difftool: Enabled

Running the Git for Windows SDK as part of the MSI installer development work, the version of Git for Windows in use is 2.10.2. (I guess I'm a bit further behind than I anticipated).

@capt-morgan
Copy link

Thank you Ztou. I just want to highlight your workaround using 'q' to quit.

@fourpastmidnight
Copy link

So, as I was looking into Git slowness tonight, per #1071, I remembered that I had upgraded my TrendMicro Maximum Protection anti-virus and firewall booster program. I never had an issue before with it, but decided to take a look. I decided to add the path to my Git for Windows installation as an exception (i.e. no scans or other monitoring will be done on anything in the folder or below it). And lo and behold, git log is working again.

@dscho
Copy link
Member

dscho commented Apr 9, 2017

So... @ztou... any reaction to anything that was said here? Or... more silence? 😄

@dscho dscho closed this as completed Oct 13, 2017
@dscho dscho added the wontfix label Oct 13, 2017
@dscho
Copy link
Member

dscho commented Apr 23, 2018

The issue is probably the same as #1491.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants