Skip to content

Commit 266b27f

Browse files
committed
Fix TestGitLFSSSH by not cutting away the .git suffix from repo path
1 parent 6a87359 commit 266b27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/serv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func runServ(ctx context.Context, c *cli.Command) error {
278278
// LowerCase and trim the repoPath as that's how they are stored.
279279
// This should be done after splitting the repoPath into username and reponame
280280
// so that username and reponame are not affected.
281-
repoPath = strings.ToLower(results.OwnerName + "/" + results.RepoName)
281+
repoPath = strings.ToLower(results.OwnerName + "/" + results.RepoName + ".git")
282282

283283
// LFS SSH protocol
284284
if verb == git.CmdVerbLfsTransfer {

0 commit comments

Comments
 (0)