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

git Difftool command doesn't work #555

Open
2 of 6 tasks
smaillet-ms opened this issue Jan 5, 2023 · 1 comment
Open
2 of 6 tasks

git Difftool command doesn't work #555

smaillet-ms opened this issue Jan 5, 2023 · 1 comment

Comments

@smaillet-ms
Copy link

Setup

  • Which version of microsoft/git are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.38.1.windows.1
cpu: x86_64
built from commit: b85c8f604d375d4d773a36842964e8a7ec056aae
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon

Are you using Scalar or VFS for Git?

Yes, GVFS

If VFS for Git, then what version?

$ gvfs version

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

Microsoft Windows [Version 10.0.22621.963]
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Everything else appears to work fine.

Details

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

PowerShell

 git difftool --dir-diff
  • What did you expect to occur after running these commands?

Expected it to launch my directory diff tool as it has in the past (Haven't needed to use this command in a while)

  • What actually happened instead?
git: 'difftool--helper' is not a git command. See 'git --help'.
warning: failed: 1
  • If the problem was occurring with a specific repository, can you specify
    the repository?

    • Public repo: insert URL here
    • Windows monorepo
    • Office monorepo
    • Other Microsoft-internal repo:
    • Other internal repo.
      (Also occurs on any local machine repos as well so not repo specific)
@dscho
Copy link
Member

dscho commented Jan 26, 2023

git: 'difftool--helper' is not a git command. See 'git --help'.

That is a strange error that I have not seen before.

Can you see whether the file C:\Program Files\Git\mingw64\libexec\git-core\git-difftool--helper exists in your setup? (For me, it exists and has 2503 bytes of file content.)

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

No branches or pull requests

2 participants