Skip to content

Commit

Permalink
fix(internal): Also add mock date to patches
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Oct 2, 2024
1 parent 8002e3c commit 7dbeca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/patch/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (p *Patch) message() *bytes.Buffer {

b.WriteString("From ")
b.WriteString(p.Hash)
b.WriteString("\n")
b.WriteString(" Mon Sep 17 00:00:00 2001\n")
b.WriteString("From: ")
b.WriteString(p.AuthorName)
b.WriteString(" <")
Expand All @@ -152,7 +152,7 @@ func (p *Patch) message() *bytes.Buffer {
b.WriteString("\n")
b.WriteString(p.Diff)
// TODO(nderjung): Set this version dynamically. How much does it matter?
b.WriteString("-- \n2.39.2\n\n")
b.WriteString("-- \n2.43.0\n\n")

return &b
}
Expand Down

0 comments on commit 7dbeca9

Please sign in to comment.