summaryrefslogtreecommitdiff
path: root/repo.new.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 01:15:31 -0600
committerJeff Carr <[email protected]>2024-12-17 01:15:31 -0600
commit4bc95ad2684cb42159229b8198aa8a2377f80aa1 (patch)
tree57c4b95880302bfd3a34d0cc3eec6ab79f1d0993 /repo.new.go
parentc53da5a9a1da1b29db24d4e1ce2b294514d99ac2 (diff)
keep isolating use of os.Exec("git")
Diffstat (limited to 'repo.new.go')
-rw-r--r--repo.new.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo.new.go b/repo.new.go
index 10b5fcb..ca224e2 100644
--- a/repo.new.go
+++ b/repo.new.go
@@ -27,6 +27,8 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) {
newr := Repo{
FullPath: fullpath,
}
+ newr.Times = new(GitTimes)
+
newr.GoInfo = new(GoInfo)
newr.GoInfo.GoPath = gopath