Wslgit Versions Save

Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)

v1.2.0

1 year ago

Added

  • Support setting preferred WSL distribution (#127, #129)
  • Detect and use WSL distribution specified in UNC paths

Fixed

  • Escape special characters <, >, and ! (#134, #135)

v1.1.1

2 years ago

Fixed

  • Use standard bash executable (#122)

v1.1.0

2 years ago

Changed

  • Use full path to bash (#119)

Fixed

  • Fix test errors

v1.0.1

3 years ago

The 1.0.1 update is a re-release of v1.0.0 which fixes a bug in the new install script (#110), it is otherwise identical to version 1.0.0.

This release improves compatibility with other tools. In the ZIP download, an install script is provided to create a directory structure similar to Git for Windows, allowing many tools to auto-detect wslgit. Further, a proxy script to improve compatiblity with the Fork client is provided.

Detailed changelog:

Added

  • Add install script to create binaries and directory structure similar to Git for Windows. This enables tools to auto-detect Git, if the created directory is added to the Windows Path.
  • Add proxy to call Fork.RI from WSL.

Changed

  • Add ls-remote to commands that use an interactive bash shell (#101).
  • Treat file arguments after -- as relative paths (#102).
  • Include version number in logging output (#105).
  • Invoke wsl without default shell (#107).

Fixed

  • Fix translation of URLs that start with a transport protocol (#103).

v1.0.0

3 years ago

This release improves compatibility with other tools. In the ZIP download, an install script is provided to create a directory structure similar to Git for Windows, allowing many tools to auto-detect wslgit. Further, a proxy script to improve compatiblity with the Fork client is provided.

Detailed changelog:

Added

  • Add install script to create binaries and directory structure similar to Git for Windows. This enables tools to auto-detect Git, if the created directory is added to the Windows Path.
  • Add proxy to call Fork.RI from WSL.

Changed

  • Add ls-remote to commands that use an interactive bash shell (#101).
  • Treat file arguments after -- as relative paths (#102).
  • Include version number in logging output (#105).
  • Invoke wsl without default shell (#107).

Fixed

  • Fix translation of URLs that start with a transport protocol (#103).

v0.9.0

4 years ago

This release changes translation of paths between Windows and WSL. All paths are now translated by the wslpath utility. This enables the use of custom mount roots without any additional configuration for wslgit (i.e. drive mounts like /c work out of the box now).

There is also a new smarter default for when to use an interactive shell. This removes the need to set any environment variables for most users of wslgit.

Detailed changelog:

Added

  • New WSLGIT environment variable that is set to 1 by wslgit and shared to the WSL environment.

Changed

  • Use wslpath to translate paths between Windows and Linux (#12, #71).
  • New default smart for WSLGIT_USE_INTERACTIVE_SHELL - only uses an interactive bash shell for clone, fetch, pull and push.

Removed

  • Remove WSLGIT_MOUNT_ROOT environment variable, this is handled by wslpath now.

v0.8.0

4 years ago

This version fixes several issues and supports custom mount roots via a new environment variable, thanks to @carlolars.

Important: Users of wslgit-mount-at-root.exe 0.7.0 need to set the new Windows environment variable WSLGIT_MOUNT_ROOT to /.

Added

  • New environment variable WSLGIT_MOUNT_ROOT to configure the WSL mount root (#78).

Fixed

  • Improve shell escaping of invalid characters (#27, #54, #73), fixed by #74 and #76.
  • Support flags for BASH_ENV in WSLENV environment variable (#56), fixed by #78.
  • Fixed translating to windows path from the root of a mounted drive (#80).
  • Support empty command line arguments (#84).

Changed

  • Format code using rustfmt.
  • Unify interactive/non-interactive configurations, both use bash -c now.
  • Expand tests and add integration tests (#76).
  • WSLGIT_USE_INTERACTIVE_SHELL now has higher priority than a BASH_ENV/WSLENV configuration (#78).

v0.7.0

5 years ago

This release contains fixes to several corner cases.

Additionally, a new experimental build is provided for configurations where drives are mounted directly at / (i.e /c instead of /mnt/c) - see #42. Use the wslgit-mount-at-root.exe binary for this case.

Added

  • Support for relative paths as arguments. (partial fix for #37)
  • Translate paths in long form arguments, e.g. --file=C:\some\path (partial fix for #37)

Fixed

  • Support git commands in any argument position when deciding wether to translate paths in the output of the command. (#47)
  • Fix incorrectly quoted arguments with spaces in non-interactive setup. (#46)

Changed

  • To support manually mounted network drives, the working directory inside WSL is now explicitly changed to the current working directory of wslgit in Windows. (#50)

v0.6.0

6 years ago

This is a larger release with several fixes and internal changes.

Added

  • Allow running bash in non-interactive mode for improved performance (#16, #23).

Fixed

  • Unix paths inside file contents are not being erroneously translated anymore (#19).
  • Do not assume valid UTF-8 output from git (#29).
  • Fix running wslgit without arguments (#26).
  • Escape \n newlines in arguments to git (#27).

Changed

  • Change to wsl.exe to call into the WSL environment.
  • Apply path translation only to output of rev-parse and remote.

v0.5.0

6 years ago

Another bugfix release.

Fixed

  • Superfluous empty .git source control providers mentioned in #15 and #10