From 393b91c415390f0030153d26b73d6af4e7e465a2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 Jan 2025 11:43:40 -0600 Subject: [PATCH] store the new hash --- patchset.Make.go | 1 + patchset.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/patchset.Make.go b/patchset.Make.go index aa1660e..3b32bc9 100644 --- a/patchset.Make.go +++ b/patchset.Make.go @@ -159,6 +159,7 @@ func (p *Patchset) addPatchFiles(repo *gitpb.Repo) error { patch.Data = data patch.parseData() patch.StartHash = repo.DevelHash() + patch.NewHash = "na" patch.RepoNamespace = repo.GetGoPath() if p.Patches == nil { p.Patches = new(Patches) diff --git a/patchset.proto b/patchset.proto index b21dbee..4e1d94f 100644 --- a/patchset.proto +++ b/patchset.proto @@ -16,6 +16,7 @@ message Patch { repeated string Files = 10; // the filenames this patch changes string comment = 11; // the git commit message (in patch form) string repoNamespace = 12; // the base repo git URL + string newHash = 13; // new hash after git am } message Patches { // `autogenpb:marshal`