summaryrefslogtreecommitdiff
path: root/t/t7004-tag.sh
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-05-08 19:16:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-09 06:10:38 (GMT)
commita54b2ab345c4e50e2adfbdeab7d716f5be77a6b3 (patch)
tree6d28c0c2262adbcc54fba016c8b7685b3c4fc08a /t/t7004-tag.sh
parenteea9c1e78ffd878cbaaf2c1e346e186a1e58a460 (diff)
downloadgit-a54b2ab345c4e50e2adfbdeab7d716f5be77a6b3.zip
git-a54b2ab345c4e50e2adfbdeab7d716f5be77a6b3.tar.gz
git-a54b2ab345c4e50e2adfbdeab7d716f5be77a6b3.tar.bz2
tag: fix typo in nested tagging hint
In eea9c1e78f (tag: advise on nested tags, 2019-04-04), tag was taught to hint at the user if a nested tag is made. However, this message had a typo and it said "The object referred to by your new is...", which was missing a "tag" after "new". Fix this message by adding the "tag". Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7004-tag.sh')
-rwxr-xr-xt/t7004-tag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index e285686..6aeeb27 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -1702,7 +1702,7 @@ test_expect_success '--points-at finds annotated tags of tags' '
test_expect_success 'recursive tagging should give advice' '
sed -e "s/|$//" <<-EOF >expect &&
- hint: You have created a nested tag. The object referred to by your new is
+ hint: You have created a nested tag. The object referred to by your new tag is
hint: already a tag. If you meant to tag the object that it points to, use:
hint: |
hint: git tag -f nested annotated-v4.0^{}