code: plan9front

Download patch

ref: 053e1f71c4a7f270cf7b8b09a4396edce96d7031
parent: 4628d9418db7932f3bbbad2c8007a021d3885a3a
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