aboutsummaryrefslogtreecommitdiffstats
path: root/commands/select/select.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-08-31 13:23:26 +0200
committerGitHub <noreply@github.com>2019-08-31 13:23:26 +0200
commit2b14bb253c0bbc7e5010de62f2dc527186d88f0a (patch)
treeb1e4b5d0eb51007bf50b375fca6d0dedc2439904 /commands/select/select.go
parenta9f278fdce2393e48f4d4b2029b5c0aa55056602 (diff)
parent6a0336e04b17bf232375be880a410a0531b9f7ff (diff)
downloadgit-bug-2b14bb253c0bbc7e5010de62f2dc527186d88f0a.tar.gz
Merge pull request #205 from seeduvax/issue-178
issue 178: fetch the repo dir with rev-parse --git-dir
Diffstat (limited to 'commands/select/select.go')
-rw-r--r--commands/select/select.go2
1 files changed, 1 insertions, 1 deletions
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)
}