Commit Diff


commit - 42219b1ea2d9860c465f76cd96fb63fb253628ca
commit + d9dd1b289c149184c4da042edfb9dae1062c4187
blob - 6df4584400e19777a765cdf69092e4a5b0c86662
blob + 2fca3b7bc8c926ed84027fe7ac16c1c8bc9f1e45
--- regress/cmdline/unstage.sh
+++ regress/cmdline/unstage.sh
@@ -100,9 +100,8 @@ test_unstage_directory() {
 	ret=$?
 	if [ $ret -ne 0 ]; then
 		diff -u $testroot/stdout.expected $testroot/stdout
-		test_done "$testroot" "$ret"
-		return 1
 	fi
+	test_done "$testroot" "$ret"
 }
 
 test_unstage_unversioned() {