diff options
author | Junio C Hamano <junkio@cox.net> | 2005-04-30 03:25:05 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-30 03:25:05 +0400 |
commit | 0fc65a4572625405ff6dd9d8c16d835f2b1ebd49 (patch) | |
tree | c1546808797f6a3c4e6ae82069cee3dc316fbf24 /git-tag-script | |
parent | e515f31896844071f9721f114d289139afa8f662 (diff) |
[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-x | git-tag-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tag-script b/git-tag-script index 233491bc63..ccc75dcfbd 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 |