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

Problem with Git integration on windows #249

Open
csiefer2 opened this issue Sep 10, 2021 · 8 comments
Open

Problem with Git integration on windows #249

csiefer2 opened this issue Sep 10, 2021 · 8 comments
Assignees

Comments

@csiefer2
Copy link

Gumtree using git difftool integration described here, only lists one file at a time through the list page, http://127.0.0.1:4567/list .

Is there some way to get it to list all the files which have been modified in the repo changes?

@jrfaller jrfaller self-assigned this Sep 12, 2021
@jrfaller
Copy link
Member

Hi Chris!

Normally listing all file changes is the behavior of the list view. Do you use the -d option ? Make a screenshot perhaps.

Cheers.

@csiefer2
Copy link
Author

csiefer2 commented Sep 13, 2021

I forgot the -d option, but when I add it, I get a temp directory errors when I add it.

If I'm using the Windows command prompt or cygwin , I get something like this:

java.nio.file.FileSystemException:  C:\cygwin64\tmp\git-difftool.fROKIR\r: The file cannot be accessed by the system

Windows tells me that the file is there, but it is zero bytes in size. Notepad cannot open it.

@jrfaller
Copy link
Member

Mmm this one looks like a Windows bug, i'll try to gain access to a windows machine to reproduce, but maybe the way I deal with temporary files is broken on Windows (which is odd because I use the standard library for this)

@jrfaller
Copy link
Member

Could you check if the path is correct and the file is readable?

@jrfaller jrfaller changed the title Git integration + multiple files? Problem with Git integration on windows Sep 14, 2021
@csiefer2
Copy link
Author

The file does exist, but it isn't a file, rather a Windows Junction point (which is evidently kind of like a symbolic link). Unfortunately, the link doesn't point to anywhere, which is what I think the problem is.

@jrfaller
Copy link
Member

Could you look if it exists when GumTree is executing?

@csiefer2
Copy link
Author

Any good idea how to check that? The file doesn't exist before GumTree starts, and by the time I can find out where the temporary file is generated, GumTree has already crashed.

@jrfaller
Copy link
Member

mmm good point ;)

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