Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 199a321

Browse files
committed
repository: added missing line PlainCloneContext(). [Fixes #741]
Signed-off-by: Bartek Jaroszewski <[email protected]>
1 parent 2addbba commit 199a321

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

repository.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ func PlainCloneContext(ctx context.Context, path string, isBare bool, o *CloneOp
368368
}
369369
defer fh.Close()
370370

371+
names, err := fh.Readdirnames(1)
371372
if err != io.EOF && err != nil {
372373
return nil, err
373374
}

0 commit comments

Comments
 (0)