aboutsummaryrefslogtreecommitdiffstats
path: root/misc/random_bugs/cmd
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-05-25 07:55:28 -0400
committerSteve Moyer <smoyer1@selesy.com>2022-05-25 07:55:28 -0400
commitb42fae382af0a43b0d51fb312abd4ff55df43877 (patch)
treec1f46b2fadd29d9a2890ecc1b9991e367aac86f2 /misc/random_bugs/cmd
parent650c11dcb68bfe00e2d399c5e1d337cae9c1bfeb (diff)
downloadgit-bug-b42fae382af0a43b0d51fb312abd4ff55df43877.tar.gz
feat: make local storage configurable
Diffstat (limited to 'misc/random_bugs/cmd')
-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..b017439e 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 gitBugApplicationName = "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, gitBugApplicationName, loaders)
if err != nil {
panic(err)
}