aboutsummaryrefslogtreecommitdiffstats
path: root/commands/root.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-06-26 19:20:36 +0200
committerGitHub <noreply@github.com>2020-06-26 19:20:36 +0200
commit1e3dd82fd619f7b43b3193016232ef69f9707f42 (patch)
tree00e847500b34c6f9a721c71474993d1c08ae8fb1 /commands/root.go
parent2dd0dbb1344ae9293aae05346f977b5d5907934b (diff)
parent88ad7e606f1cbf9e47b968a208e3510f7f9a81c5 (diff)
downloadgit-bug-1e3dd82fd619f7b43b3193016232ef69f9707f42.tar.gz
Merge pull request #411 from MichaelMure/repo-rework
Repository rework
Diffstat (limited to 'commands/root.go')
-rw-r--r--commands/root.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/root.go b/commands/root.go
index 92d32a5a..2ea95d4b 100644
--- a/commands/root.go
+++ b/commands/root.go
@@ -63,7 +63,7 @@ func loadRepo(cmd *cobra.Command, args []string) error {
return fmt.Errorf("unable to get the current working directory: %q", err)
}
- repo, err = repository.NewGitRepo(cwd, bug.Witnesser)
+ repo, err = repository.NewGitRepo(cwd, []repository.ClockLoader{bug.ClockLoader})
if err == repository.ErrNotARepo {
return fmt.Errorf("%s must be run from within a git repo", rootCommandName)
}