Skip to content

Commit ca1b894

Browse files
authored
Merge pull request #13 from liamg/liamg-final-traversal-fix
Update retriever.go
2 parents 4a9071c + ad8b2b6 commit ca1b894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/gitjacker/retriever.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (r *retriever) parsePackMetadata(meta []byte) error {
134134
for _, line := range lines {
135135
parts := strings.Split(strings.TrimSpace(line), " ")
136136
if parts[0] == "P" && len(parts) == 2 {
137-
packPath := filepath.Join(r.outputDir, ".git", "objects", "pack", filepath.FromSlash(filepath.Clean("/"+parts[1])))
137+
packPath := filepath.Join("objects", "pack", filepath.FromSlash(filepath.Clean("/"+parts[1])))
138138
if err := r.downloadFile(packPath); err != nil {
139139
logrus.Debugf("Failed to retrieve pack file %s: %s", parts[1], err)
140140
}

0 commit comments

Comments
 (0)