shithub: git9

Download patch

ref: 18a105d86b21117847b635369c54929da57b350c
parent: 4d43ed79a82c470f0b6a2b1a1b159e6749523b4f
author: Ori Bernstein <[email protected]>
date: Tue Dec 3 01:23:26 EST 2019

preserve date correctly in export message.

--- a/export
+++ b/export
@@ -28,7 +28,7 @@
 		
 		echo From $c
 		echo From: `{cat $cp/author}
-		echo Date: `{date -m `{mtime $cp/author}}
+		echo Date: `{date -m `{mtime $cp/author | awk '{print $1}'}}
 		echo Subject: [PATCH] `{sed 1q $cp/msg}
 		echo
 		sed '1d' $cp/msg