commit 34d80a0ff3357761ddb975a1a96d3ee795218e41 from: Omar Polo date: Tue Jan 10 11:31:50 2023 UTC regress: use `local' for some variables commit - 6b37f13aa48dd88d4cc6c8176104a3101d7a260c commit + 34d80a0ff3357761ddb975a1a96d3ee795218e41 blob - f618a930746dc154eafcbc8ada927ee1b5ecaece blob + 2727b7a93c622ab7155f89a994420850e23c0d6d --- regress/cmdline/diff.sh +++ regress/cmdline/diff.sh @@ -1395,8 +1395,8 @@ test_diff_commit_diffstat() { (cd $testroot/wt && got commit -m 'committing changes' >/dev/null) local commit_id1=`git_show_head $testroot/repo` - alpha_id1=`get_blob_id $testroot/repo "" alpha` - new_id1=`get_blob_id $testroot/repo "" new` + local alpha_id1=`get_blob_id $testroot/repo "" alpha` + local new_id1=`get_blob_id $testroot/repo "" new` cat <$testroot/stdout.expected diffstat $commit_id0 refs/heads/master