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 Bash Git Gui Branch History External Diff a/b files deleted #2083

Closed
1 task done
JonPetitta opened this issue Feb 22, 2019 · 1 comment
Closed
1 task done

Git Bash Git Gui Branch History External Diff a/b files deleted #2083

JonPetitta opened this issue Feb 22, 2019 · 1 comment

Comments

@JonPetitta
Copy link

  • I was not able to find an [open]

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ 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?
Windows 7 Ent 64
6.1.7601 SP1

$ cmd.exe /c ver

Microsoft Windows [Version 6.1.7601]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
All defaults except run git bash and cmd, the middle option.

# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"

Editor Option: VIM
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?
Not that I know of.

Details

  • Which terminal/shell are you running Git from?
 Bash
Launch Git Bash
CD to project dir
start git gui
git gui menu Repository -> Visualize 'branch_X' History
git history menu Edit -> Preferences set External diff tool (I use UltraCompare GUI from IDM)
select commit X
select file x, right click -> External Diff
  • What did you expect to occur after running these commands?
External diff tool shows diff of file x
  • What actually happened instead?
External diff tool is unable to find a/b of file x

image

image

The files are created

image

I think it has to do with a win32 api call to 
SetDispositionInformationFile - Delete: true by wish.exe

image

@dscho
Copy link
Member

dscho commented Feb 26, 2019

This log suggests that you configured UltraCompare in a way that does not wait for the diff to finish before returning control to the caller.

The exact command line that was configured in gitk is something that is notably missing from this report. And that is rather crucial information, as it is most likely the incorrect command line that causes the described issue.

There seems to be some information available from the UltraCompare forum how to configure it for use in Git, see e.g. http://forums.ultraedit.com/git-merge-with-ultracompare-dollar-issue-in-ues-v1-t17088.html?sid=570ff6f0563d22efeda391fca365d066#p57874 ... so that should help.

Good luck hunting for the correct command-line!

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