We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edfbbad + 846cb46 commit f23a0bbCopy full SHA for f23a0bb
CHANGELOG.md
@@ -6,6 +6,10 @@ All notable changes will be documented here.
6
7
- Upgrade gitopia version to v1.3.0
8
9
+## [v1.3.2] - 2022-12-26
10
+
11
+- Allow invocation without `GIT_DIR` variable
12
13
## [v1.3.1] - 2022-11-15
14
15
- Fix node address in prod config
core/util.go
@@ -7,6 +7,9 @@ import (
func GetLocalDir() (string, error) {
localdir := path.Join(os.Getenv("GIT_DIR"))
+ if localdir == "" {
+ return "", nil
+ }
if err := os.MkdirAll(localdir, 0755); err != nil {
return "", err
0 commit comments