remote.c: drop "remote" pointer from "struct branch"
[gitweb.git] / t / test-lib-functions.sh
index 0d93e33de4759bff71739c19be803cac981f0770..0698ce7908cb958c6e94a8cfa11c1019de692710 100644 (file)
@@ -745,7 +745,9 @@ test_ln_s_add () {
        else
                printf '%s' "$1" >"$2" &&
                ln_s_obj=$(git hash-object -w "$2") &&
-               git update-index --add --cacheinfo 120000 $ln_s_obj "$2"
+               git update-index --add --cacheinfo 120000 $ln_s_obj "$2" &&
+               # pick up stat info from the file
+               git update-index "$2"
        fi
 }