rewrite git_config() to use the config-set API
[gitweb.git] / t / t4204-patch-id.sh
index fe011f83ff46064c4c287ecdc9bf27047c30672a..baa9d3c82e8a54dc7501d90bc9da0527f2a72b2e 100755 (executable)
@@ -62,8 +62,8 @@ test_expect_success 'patch-id supports git-format-patch output' '
        git checkout same &&
        git format-patch -1 --stdout | calc_patch_id same &&
        test_cmp patch-id_master patch-id_same &&
-       set `git format-patch -1 --stdout | git patch-id` &&
-       test "$2" = `git rev-parse HEAD`
+       set $(git format-patch -1 --stdout | git patch-id) &&
+       test "$2" = $(git rev-parse HEAD)
 '
 
 test_expect_success 'whitespace is irrelevant in footer' '