andy-5 / wslgit

Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
MIT License
1.19k stars 59 forks source link

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

Closed ElTopo closed 4 years ago

ElTopo commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

andy-5 commented 4 years ago

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.