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

[Question] is there a way to tell wslgit.exe's version? #105

Closed
ElTopo opened this issue Apr 9, 2020 · 3 comments
Closed

[Question] is there a way to tell wslgit.exe's version? #105

ElTopo opened this issue Apr 9, 2020 · 3 comments

Comments

@ElTopo
Copy link

ElTopo commented Apr 9, 2020

Currently wslgit.exe seems to pass all args to wsl's git, so
wslgit.exe --version
prints out git's version.

Is there a way to print wslgit.exe's own version?

@andy-5
Copy link
Owner

andy-5 commented Apr 9, 2020

Right now, there is no way to find out wslgit's own version. But I can see that it could be useful.

The only way I can think of is to compare checksums of the various released binaries.

@ElTopo
Copy link
Author

ElTopo commented Apr 10, 2020

@andy-5 Thanks. Maybe we can change this issue to [Feature Request]?

@andy-5
Copy link
Owner

andy-5 commented May 8, 2020

I've pushed some changes to the develop branch so that the current version number is now also logged if the environment variable WSLGIT_ENABLE_LOGGING is set to 1.

If enabled, you will find a wslgit.log next to wslgit.exe with logs for executed commands - and now also the version number of the wslgit executable.

@andy-5 andy-5 closed this as completed May 8, 2020
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