From 65330e734ebc33ab09baff744fe77d2324b56043 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 13 Jun 2024 09:26:37 +0100 Subject: feat(init): add euc marker to commit reference based on nip34 update. see nip repository commit 8fe6e062254b37f77540088cccff60fa8615751 --- src/repo_ref.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/repo_ref.rs b/src/repo_ref.rs index 9fb1f0c..7016257 100644 --- a/src/repo_ref.rs +++ b/src/repo_ref.rs @@ -117,7 +117,10 @@ impl RepoRef { } else { self.identifier.to_string() }), - Tag::from_standardized(TagStandard::Reference(self.root_commit.to_string())), + Tag::custom( + nostr::TagKind::Custom(std::borrow::Cow::Borrowed("r")), + vec![self.root_commit.to_string(), "euc".to_string()], + ), Tag::from_standardized(TagStandard::Name(self.name.clone())), Tag::from_standardized(TagStandard::Description(self.description.clone())), Tag::custom( -- cgit v1.2.3