about summary refs log tree commit diff
path: root/third_party/git/t/t5801/git-remote-testgit
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t5801/git-remote-testgit')
-rwxr-xr-xthird_party/git/t/t5801/git-remote-testgit6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/git/t/t5801/git-remote-testgit b/third_party/git/t/t5801/git-remote-testgit
index 6b9f0b5dc79c..1544d6dc6ba1 100755
--- a/third_party/git/t/t5801/git-remote-testgit
+++ b/third_party/git/t/t5801/git-remote-testgit
@@ -52,9 +52,11 @@ do
 		test -n "$GIT_REMOTE_TESTGIT_SIGNED_TAGS" && echo "signed-tags"
 		test -n "$GIT_REMOTE_TESTGIT_NO_PRIVATE_UPDATE" && echo "no-private-update"
 		echo 'option'
+		echo 'object-format'
 		echo
 		;;
 	list)
+		echo ":object-format $(git rev-parse --show-object-format=storage)"
 		git for-each-ref --format='? %(refname)' 'refs/heads/' 'refs/tags/'
 		head=$(git symbolic-ref HEAD)
 		echo "@$head HEAD"
@@ -139,6 +141,10 @@ do
 			test $val = "true" && force="true" || force=
 			echo "ok"
 			;;
+		object-format)
+			test $val = "true" && object_format="true" || object_format=
+			echo "ok"
+			;;
 		*)
 			echo "unsupported"
 			;;