summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchset.Make.go1
-rw-r--r--patchset.proto1
2 files changed, 2 insertions, 0 deletions
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`