shithub: git9

Download patch

ref: e0d20650711813366f00e5465bac07bcd3614181
parent: 6dd8e6371434710d5786eafed458fbb069085807
author: Michael Forney <mforney@mforney.org>
date: Wed Jan 13 23:41:55 EST 2021

git/import: clear status in case if-condition failed
Otherwise, git/import exits with the incorrect status if -n is used.

--- a/import
+++ b/import
@@ -82,6 +82,7 @@
 			hash=`{git/save -n $name -e $email -m $msg -d $date $parents $files}
 			echo $hash > $refpath
 		}
+		status=''
 	'
 }