1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

merge branch master

This commit is contained in:
Jesse Duffield
2018-08-11 15:09:37 +10:00
parent e46f3b3393
commit 7e141283f6
17 changed files with 388 additions and 251 deletions

View File

@ -30,6 +30,7 @@ var (
versionFlag = flag.Bool("v", false, "Print the current version")
w *git.Worktree
r *git.Repository
)
func homeDirectory() string {
@ -98,7 +99,8 @@ func fallbackVersion() string {
}
func setupWorktree() {
r, err := git.PlainOpen(".")
var err error
r, err = git.PlainOpen(".")
if err != nil {
panic(err)
}