Skip to content

git-gui cannot start #258

@bbolli

Description

@bbolli

Launching git gui, either from git-bash or gitk, gives this error message:

couldn't execute "C:\Tools\Git\mingw32\libexec\git-core\git-update-index.exe": invalid argument
couldn't execute "C:\Tools\Git\mingw32\libexec\git-core\git-update-index.exe": invalid argument
    while executing
"error $err"
    (procedure "_open_stdout_stderr" line 16)
    invoked from within
"_open_stdout_stderr [concat $opt $cmdp $args]"
    (procedure "git_read" line 26)
    invoked from within
"git_read update-index  -q  --unmerged  --ignore-missing  --refresh  "
    (procedure "rescan" line 40)
    invoked from within
"rescan ui_ready"
    (procedure "do_rescan" line 2)
    invoked from within
"do_rescan"
    ("after" script)

Starting git update-index -q --unmerged --ignore-missing --refresh from the shell works fine, so I wonder if it has to do with the DOS path that is used to start git-update-index.exe.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions