diff options
author | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-08-24 22:42:25 +0200 |
---|---|---|
committer | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-08-24 22:42:25 +0200 |
commit | 7e123fbfcae76e3ad188cfa5e98c27adcde8d6d7 (patch) | |
tree | 8dab22f51e01ebf286ba9a9c0cc61244a313586f /commands | |
parent | 91f563da5f508cfcc5dfe6418e2f6333e247ec6e (diff) | |
download | git-bug-7e123fbfcae76e3ad188cfa5e98c27adcde8d6d7.tar.gz |
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.
Diffstat (limited to 'commands')
-rw-r--r-- | commands/select/select.go | 2 |
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) } |