no more config in git command struct

This commit is contained in:
Jesse Duffield 2021-12-29 11:41:33 +11:00
parent 18ab086126
commit 03b946cc8f
17 changed files with 28 additions and 38 deletions

View file

@ -485,3 +485,7 @@ func sanitisedCommandOutput(output []byte, err error) (string, error) {
}
return outputString, nil
}
func GetTempDir() string {
return filepath.Join(os.TempDir(), "lazygit")
}