JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Return last commit in repository_info

Type: Feature

emilia - ⁨2⁩ years ago

parent: tbd commit: ⁨f18ea18

Showing ⁨⁨1⁩ changed file⁩ with ⁨⁨1⁩ insertion⁩ and ⁨⁨1⁩ deletion⁩

giterated-daemon/src/backend/git.rs

View file
@@ -425,7 +425,7 @@ impl RepositoryBackend for GitBackend {
425 425 description: repository.description,
426 426 visibility: repository.visibility,
427 427 default_branch: repository.default_branch,
428 latest_commit: None,
428 latest_commit: Some(Commit::from(commit.clone())),
429 429 tree_rev: Some(rev_name),
430 430 tree,
431 431 })