summaryrefslogtreecommitdiff
path: root/git-tag-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-04-29 23:25:05 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 23:25:05 (GMT)
commit0fc65a4572625405ff6dd9d8c16d835f2b1ebd49 (patch)
treec1546808797f6a3c4e6ae82069cee3dc316fbf24 /git-tag-script
parente515f31896844071f9721f114d289139afa8f662 (diff)
downloadgit-0fc65a4572625405ff6dd9d8c16d835f2b1ebd49.zip
git-0fc65a4572625405ff6dd9d8c16d835f2b1ebd49.tar.gz
git-0fc65a4572625405ff6dd9d8c16d835f2b1ebd49.tar.bz2
[PATCH] leftover bits for git rename
Linus said: "Let's see what else I forgot.." Not that many, but here they are. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'git-tag-script')
-rwxr-xr-xgit-tag-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tag-script b/git-tag-script
index 233491b..ccc75dc 100755
--- a/git-tag-script
+++ b/git-tag-script
@@ -1,6 +1,6 @@
#!/bin/sh
object=${2:-$(cat .git/HEAD)}
-type=$(cat-file -t $object) || exit 1
+type=$(git-cat-file -t $object) || exit 1
( echo -e "object $object\ntype $type\ntag $1\n"; cat ) > .tmp-tag
rm -f .tmp-tag.asc
gpg -bsa .tmp-tag && cat .tmp-tag.asc >> .tmp-tag