Skip to content
Snippets Groups Projects
Commit 72f9faa9 authored by Timon's avatar Timon
Browse files

Merge branch 'fork-fix' into 'main'

Only get latest commit

See merge request !12
parents f6c41f9d 2820e3a4
No related branches found
No related tags found
1 merge request!12Only get latest commit
...@@ -424,6 +424,8 @@ func (s *server) getAppInfo(ctx context.Context, pathInRepo, repo string, slug * ...@@ -424,6 +424,8 @@ func (s *server) getAppInfo(ctx context.Context, pathInRepo, repo string, slug *
log.Printf("%s@%s: %v", repo, obj.Hash.String(), err) log.Printf("%s@%s: %v", repo, obj.Hash.String(), err)
} }
} }
// just get the latest commit
break
if len(obj.ParentHashes) == 0 { if len(obj.ParentHashes) == 0 {
break break
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment