1#!/bin/sh23test_description='git show'45. ./test-lib.sh67test_expect_success setup '8echo hello world >foo &&9H=$(git hash-object -w foo) &&10git tag -a foo-tag -m "Tags $H" $H &&11HH=$(expr "$H" : "\(..\)") &&12H38=$(expr "$H" : "..\(.*\)") &&13rm -f .git/objects/$HH/$H3814'1516test_expect_success 'showing a tag that point at a missing object' '17test_must_fail git --no-pager show foo-tag18'1920test_done