We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b67f9a + 5c63920 commit b586d8cCopy full SHA for b586d8c
1 file changed
t/t4204-patch-id.sh
@@ -30,11 +30,11 @@ test_expect_success 'patch-id output is well-formed' '
30
31
#calculate patch id. Make sure output is not empty.
32
calc_patch_id () {
33
- name="$1"
+ patch_name="$1"
34
shift
35
git patch-id "$@" |
36
- sed "s/ .*//" >patch-id_"$name" &&
37
- test_line_count -gt 0 patch-id_"$name"
+ sed "s/ .*//" >patch-id_"$patch_name" &&
+ test_line_count -gt 0 patch-id_"$patch_name"
38
}
39
40
get_top_diff () {
0 commit comments