commit 9c677dea772784267e7ff8736e77d5b7423dd7fe from: Omar Polo via: Thomas Adam date: Tue Jan 10 12:44:02 2023 UTC regress: use `local' for some variables commit - e80ef83ebe4f284343c1394110765c91ec275b53 commit + 9c677dea772784267e7ff8736e77d5b7423dd7fe blob - 865bb123c0021232c34a9b1b8f6920d94f851546 blob + 31b2b6663de8cadb7bea2d2955b788b371c6edbf --- 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