Skip to content

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 13 Jun 06:03
· 6392 commits to main since this release

v0.4.3 — what changed since v0.4.2

A bug-fix release.

Fix: grit pull mis-routed remote URLs as local paths

grit pull classified any remote token containing a / as a local filesystem
path. A network remote URL (https://, http://, git://, ssh://, or
scp-style host:path) also contains /, so it was joined onto the working
directory and opened as a local repository — e.g. after

grit clone https://github.com/owner/repo.git
grit pull
# error: could not open remote repository at
#   /cwd/https://github.com/owner/repo.git

Such URLs now correctly go through the network fetch transport. file:// and
genuine local paths are unaffected.