Skip to content

gitk: couldn't execute "git": file name too long #2122

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

Closed
1 task done
anb0s opened this issue Mar 12, 2019 · 5 comments
Closed
1 task done

gitk: couldn't execute "git": file name too long #2122

anb0s opened this issue Mar 12, 2019 · 5 comments

Comments

@anb0s
Copy link

anb0s commented Mar 12, 2019

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
    64Bit
$ git --version --build-options

git version 2.20.1.windows.1
cpu: x86_64
built from commit: 7c9fbc07db0e2939b36095df45864b8cda19b64f 
sizeof-long: 4
sizeof-size_t: 8

  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

** insert your machine's response here **

Microsoft Windows [Version 6.1.7601]

  • What options did you set as part of the installation? Or did you choose the
    defaults?
Editor Option: VIM
Custom Editor Path:
Path Option: BashOnly
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Disabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

NO

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

Bash

gitk
  • What did you expect to occur after running these commands?

gitk window is opened without errors

  • What actually happened instead?

It open a window, but shows error and file changes are not shown

image

@anb0s
Copy link
Author

anb0s commented Mar 12, 2019

same issue with

git version 2.21.0.windows.1
cpu: x86_64
built from commit: 2481c4cbe949856f270a3ee80c802f5dd89381aa
sizeof-long: 4
sizeof-size_t: 8

@anb0s
Copy link
Author

anb0s commented Mar 12, 2019

If it's not reproducible for you, how can i help to investigate the root couse? Thanks!

@dscho
Copy link
Member

dscho commented Mar 12, 2019

Isn't this precisely the same bug which #2053 tries to fix (and which was reported as #1987)?

@anb0s
Copy link
Author

anb0s commented Mar 12, 2019

Isn't this precisely the same bug which #2053 tries to fix (and which was reported as #1987)?

Yes, it looks like same issue. Sorry i've searched only for opened issues. The #1987 is closed, but the issue is not solved. Should the #1987 be re-opened and this one closed? Thanks!

@dscho
Copy link
Member

dscho commented Mar 13, 2019

Sorry i've searched only for opened issues.

We explicitly ask to search also open issues: "I was not able to find an open or closed issue matching what I'm seeing" (and you put a checkmark there). And #1987 should not be re-opened because we should not distribute discussions across a ticket and a PR.

BTW if you want to help, please feel free to jump over to #2053 and assist in fixing the issue.

@dscho dscho closed this as completed Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants