From 7e123fbfcae76e3ad188cfa5e98c27adcde8d6d7 Mon Sep 17 00:00:00 2001 From: Sebastien Devaux Date: Sat, 24 Aug 2019 22:42:25 +0200 Subject: issue 178: fetch the repo dir with rev-parse --git-dir Since is returns the .git dir directly, it is not more needed to concatenate .git. --- commands/select/select.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/select/select.go b/commands/select/select.go index fdc87154..cf861fcc 100644 --- a/commands/select/select.go +++ b/commands/select/select.go @@ -137,5 +137,5 @@ func selected(repo *cache.RepoCache) (*cache.BugCache, error) { } func selectFilePath(repo repository.RepoCommon) string { - return path.Join(repo.GetPath(), ".git", "git-bug", selectFile) + return path.Join(repo.GetPath(), "git-bug", selectFile) } -- cgit