Merge branch 'tr/maint-1.6.1-doc-format-patch--root'
[gitweb.git] / t / t4014-format-patch.sh
index ebfc4a65908cb1929de299a8540d90db3d9a3a15..f187d15e328aa43f3d7a7b9030158e0128cc4812 100755 (executable)
@@ -16,9 +16,7 @@ test_expect_success setup '
        git checkout -b side &&
 
        for i in 1 2 5 6 A B C 7 8 9 10; do echo "$i"; done >file &&
-       chmod +x elif &&
-       git update-index file elif &&
-       git update-index --chmod=+x elif &&
+       test_chmod +x elif &&
        git commit -m "Side changes #1" &&
 
        for i in D E F; do echo "$i"; done >>file &&