fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

zoekt-index: treat dirname as default name (#1049)

Allow user to set the name via the meta option.

+3 -1
+3 -1
cmd/zoekt-index/main.go
··· 124 124 return err 125 125 } 126 126 127 - opts.RepositoryDescription.Name = filepath.Base(dir) 127 + if opts.RepositoryDescription.Name == "" { 128 + opts.RepositoryDescription.Name = filepath.Base(dir) 129 + } 128 130 builder, err := index.NewBuilder(opts) 129 131 if err != nil { 130 132 return err