Skip to content

Commit f23a0bb

Browse files
committed
Merge branch 'master' into release-v1.4.0
2 parents edfbbad + 846cb46 commit f23a0bb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ All notable changes will be documented here.
66

77
- Upgrade gitopia version to v1.3.0
88

9+
## [v1.3.2] - 2022-12-26
10+
11+
- Allow invocation without `GIT_DIR` variable
12+
913
## [v1.3.1] - 2022-11-15
1014

1115
- Fix node address in prod config

core/util.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import (
77

88
func GetLocalDir() (string, error) {
99
localdir := path.Join(os.Getenv("GIT_DIR"))
10+
if localdir == "" {
11+
return "", nil
12+
}
1013

1114
if err := os.MkdirAll(localdir, 0755); err != nil {
1215
return "", err

0 commit comments

Comments
 (0)