aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-06-06 13:26:29 +0200
committerGitHub <noreply@github.com>2022-06-06 13:26:29 +0200
commitdd8134b638508fb712c116d6733ed1f4437d1b67 (patch)
tree385775542fe924750db7de0215f4cbca675483a7 /misc
parentee0bac6b54e28bb52cbe18332fec84bdefb37194 (diff)
parentccc342e81482e5fe6144fdb6c547331eab2cb98a (diff)
downloadgit-bug-dd8134b638508fb712c116d6733ed1f4437d1b67.tar.gz
Merge pull request #803 from MichaelMure/feat/configurable-local-storage
Feat/configurable local storage
Diffstat (limited to 'misc')
-rw-r--r--misc/random_bugs/cmd/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/random_bugs/cmd/main.go b/misc/random_bugs/cmd/main.go
index 010ae6d1..c3506efb 100644
--- a/misc/random_bugs/cmd/main.go
+++ b/misc/random_bugs/cmd/main.go
@@ -11,6 +11,8 @@ import (
// This program will randomly generate a collection of bugs in the repository
// of the current path
func main() {
+ const gitBugNamespace = "git-bug"
+
dir, err := os.Getwd()
if err != nil {
panic(err)
@@ -20,7 +22,7 @@ func main() {
bug.ClockLoader,
}
- repo, err := repository.OpenGoGitRepo(dir, loaders)
+ repo, err := repository.OpenGoGitRepo(dir, gitBugNamespace, loaders)
if err != nil {
panic(err)
}