Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ All notable changes to `src-cli` are documented in this file.

### Fixed

- Workspaces could sometimes fail with docker bind mount errors, due to a race condition of multiple workspaces accessing the same auxilliary files. [#468](https://github.com/sourcegraph/src-cli/pull/468)

### Removed

## 3.24.5
Expand Down
2 changes: 1 addition & 1 deletion internal/campaigns/repo_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (rf *repoFetcher) zipFor(repo *graphql.Repository, workspacePath string) *r
for _, component := range pathComponents {
for _, name := range []string{".gitignore", ".gitattributes"} {
filename := path.Join(currentPath, name)
localPath := filepath.Join(rf.dir, repo.SlugForPath(filename))
localPath := filepath.Join(rf.dir, repo.SlugForPath(workspacePath+filename))

zip.additionalFiles = append(zip.additionalFiles, &additionalFile{
filename: filename,
Expand Down