store the new hash
This commit is contained in:
parent
b412e50df0
commit
393b91c415
|
@ -159,6 +159,7 @@ func (p *Patchset) addPatchFiles(repo *gitpb.Repo) error {
|
||||||
patch.Data = data
|
patch.Data = data
|
||||||
patch.parseData()
|
patch.parseData()
|
||||||
patch.StartHash = repo.DevelHash()
|
patch.StartHash = repo.DevelHash()
|
||||||
|
patch.NewHash = "na"
|
||||||
patch.RepoNamespace = repo.GetGoPath()
|
patch.RepoNamespace = repo.GetGoPath()
|
||||||
if p.Patches == nil {
|
if p.Patches == nil {
|
||||||
p.Patches = new(Patches)
|
p.Patches = new(Patches)
|
||||||
|
|
|
@ -16,6 +16,7 @@ message Patch {
|
||||||
repeated string Files = 10; // the filenames this patch changes
|
repeated string Files = 10; // the filenames this patch changes
|
||||||
string comment = 11; // the git commit message (in patch form)
|
string comment = 11; // the git commit message (in patch form)
|
||||||
string repoNamespace = 12; // the base repo git URL
|
string repoNamespace = 12; // the base repo git URL
|
||||||
|
string newHash = 13; // new hash after git am
|
||||||
}
|
}
|
||||||
|
|
||||||
message Patches { // `autogenpb:marshal`
|
message Patches { // `autogenpb:marshal`
|
||||||
|
|
Loading…
Reference in New Issue