map: Fix buggy handling of remotes that are bare git repositories accessed via ssh
authorJoey Hess <joeyh@joeyh.name>
Tue, 22 Apr 2025 19:08:49 +0000 (15:08 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 22 Apr 2025 19:21:01 +0000 (15:21 -0400)
commit2ee6c25c724afaa45c120261ed4b195a2537477e
treea979089c77f9707b6045dc85e05592fee4818802
parent820b591c1f4cff8471118aee5e5ac294bedae7a6
map: Fix buggy handling of remotes that are bare git repositories accessed via ssh

It was treating remote paths of a remote repo as if they were local paths,
and so trying to expand git directories and so forth on them. That led to
bad results, including a path like "foo.git" getting turned into
"foo.git.git"

Sponsored-by: Dartmouth College's OpenNeuro project
CHANGELOG
Command/Map.hs
Git/Construct.hs
Remote/Bup.hs