Commit Diff


commit - 86ac67ee6b540a7f7f920072d9dbc3c88ba174b8
commit + 13a06bb35e9a234f8971556a85a021b17f07d87e
blob - cde31f60daced55de0572d97c31c11a5aeb3164b
blob + dd99bc72c79db16d4012eac2a07fcef550b448e7
--- regress/cmdline/histedit.sh
+++ regress/cmdline/histedit.sh
@@ -746,9 +746,6 @@ function test_histedit_abort {
 
 	local new_commit1=`git_show_parent_commit $testroot/repo`
 	local new_commit2=`git_show_head $testroot/repo`
-
-	local short_new_commit1=`trim_obj_id 28 $new_commit1`
-	local short_new_commit2=`trim_obj_id 28 $new_commit2`
 
 	echo "Switching work tree to refs/heads/master" \
 		> $testroot/stdout.expected
@@ -862,14 +859,9 @@ function test_histedit_path_prefix {
 	fi
 	(cd $testroot/wt && got histedit -F $testroot/histedit-script \
 		> $testroot/stdout)
-
-	local new_commit1=`git_show_parent_commit $testroot/repo`
-	local new_commit2=`git_show_head $testroot/repo`
 
 	local short_old_commit1=`trim_obj_id 28 $old_commit1`
 	local short_old_commit2=`trim_obj_id 28 $old_commit2`
-	local short_new_commit1=`trim_obj_id 28 $new_commit1`
-	local short_new_commit2=`trim_obj_id 28 $new_commit2`
 
 	echo "$short_old_commit1 ->  drop commit: changing zeta" \
 		> $testroot/stdout.expected