diff options
| author | Jeff Carr <[email protected]> | 2025-10-30 23:27:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-30 23:27:40 -0500 |
| commit | 0096a29c0ef6d355b138ef323747b780d37b3ddd (patch) | |
| tree | 967038e719d8e49393279a75cbaa3281e2518591 /reloadBranches.go | |
| parent | da2910c708d29c6e2ab31ed22b81926621f5978e (diff) | |
autogen does all .proto files now
Diffstat (limited to 'reloadBranches.go')
| -rw-r--r-- | reloadBranches.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reloadBranches.go b/reloadBranches.go index b5fadb2..39a0a12 100644 --- a/reloadBranches.go +++ b/reloadBranches.go @@ -118,11 +118,11 @@ func ListFiles(directory string) []string { func (repo *Repo) checkUserBranch() error { ubn := repo.GetUserBranchName() log.Info("user branch name:", ubn, repo.GetGoPath()) - if repo.GitConfig == nil { + if repo.Config == nil { return fmt.Errorf("GitConfig == nil") } - for _, l := range repo.GitConfig.Local { + for _, l := range repo.Config.Local { log.Info("local branch name:", l.Name) } |
