We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46bdb0 commit f868ac8Copy full SHA for f868ac8
internal/lib/sync.go
@@ -359,7 +359,7 @@ func (s *Syncer) updateGitignore(repos map[string]string) error {
359
360
var paths []string
361
for localPath := range repos {
362
- paths = append(paths, localPath+"/")
+ paths = append(paths, filepath.ToSlash(localPath)+"/")
363
}
364
sort.Strings(paths)
365
testscripts/default.txt
@@ -2,6 +2,7 @@
2
dostounix golden/tree1.txt
3
dostounix golden/tree2.txt
4
dostounix golden/gitignore1.txt
5
+dostounix golden/gitignore2.txt
6
7
gitjoin
8
! stdout .
0 commit comments