Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

knotmirror/xrpc: add missing author info to GitTempGetTree_LastCommit

seems to have been lost after the recent changes to use `git cat-file
--batch`.

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
date (May 20, 2026, 4:45 PM +0100) commit 9849f353 parent 3d29a2ec change-id uwxwvuww
+9 -1
+9 -1
knotmirror/xrpc/git_get_tree.go
··· 178 178 Hash: commit.Hash.String(), 179 179 Message: commit.Message, 180 180 When: commit.Author.When.Format(time.RFC3339), 181 + Author: &tangled.GitTempGetTree_Signature{ 182 + Email: commit.Author.Email, 183 + Name: commit.Author.Name, 184 + }, 181 185 } 182 186 } 183 187 outEntries[i] = &tangled.GitTempGetTree_TreeEntry{ ··· 201 205 outLastCommit = &tangled.GitTempGetTree_LastCommit{ 202 206 Hash: lastCommit.Hash.String(), 203 207 Message: lastCommit.Message, 204 - When: lastCommit.Committer.When.Format(time.RFC3339), 208 + When: lastCommit.Author.When.Format(time.RFC3339), 209 + Author: &tangled.GitTempGetTree_Signature{ 210 + Email: lastCommit.Author.Email, 211 + Name: lastCommit.Author.Name, 212 + }, 205 213 } 206 214 } 207 215