From 3a7df704f3a48015c898ea7cb694359f5b326515 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 22 Feb 2026 21:51:36 +0800 Subject: object: Rename ident to signature --- object/commit_parse.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'object/commit_parse.go') diff --git a/object/commit_parse.go b/object/commit_parse.go index 2d207add..ae1b2559 100644 --- a/object/commit_parse.go +++ b/object/commit_parse.go @@ -42,13 +42,13 @@ func ParseCommit(body []byte, algo objectid.Algorithm) (*Commit, error) { } c.Parents = append(c.Parents, id) case "author": - idt, err := ParseIdent(value) + idt, err := ParseSignature(value) if err != nil { return nil, fmt.Errorf("object: commit: author: %w", err) } c.Author = *idt case "committer": - idt, err := ParseIdent(value) + idt, err := ParseSignature(value) if err != nil { return nil, fmt.Errorf("object: commit: committer: %w", err) } -- cgit v1.3.1-10-gc9f91