diff options
Diffstat (limited to 't/test-lib-functions.sh')
| -rw-r--r-- | t/test-lib-functions.sh | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 0d93e33de4..0698ce7908 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -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  }  | 
