git: 9front

Download patch

ref: c2aeb5978fedad5c44c26893e911d367b4771d56
parent: 9c79d9984f32874a7b6f399497565d80a62866ce
author: Michael Forney <mforney@mforney.org>
date: Tue Oct 4 14:32:53 EDT 2022

git: clear status on whoami success

Otherwise, not taking the if branch will leave a failing status for
the caller.

--- a/sys/lib/git/common.rc
+++ b/sys/lib/git/common.rc
@@ -61,6 +61,7 @@
 		name=$user
 	if(~ $email '')
 		email=$user@$sysname
+	status=''
 }
 
 # merge1 out ours base theirs
--