diff options
author | Peter Eriksen <s022018@student.dtu.dk> | 2006-04-02 14:44:09 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-04 00:11:19 -0700 |
commit | 8e4402592574d630cdb5ab4f55a1b7131802ff72 (patch) | |
tree | 5891c240ca498628ae66b8a7069ad9b90f123a2b /tar-tree.c | |
parent | fc9957b0052df6a8248420395bc9febd66194252 (diff) | |
download | git-8e4402592574d630cdb5ab4f55a1b7131802ff72.tar.gz git-8e4402592574d630cdb5ab4f55a1b7131802ff72.tar.xz |
Use blob_, commit_, tag_, and tree_type throughout.
This replaces occurences of "blob", "commit", "tag", and "tree",
where they're really used as type specifiers, which we already
have defined global constants for.
Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tar-tree.c')
-rw-r--r-- | tar-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tar-tree.c b/tar-tree.c index bd289a98f..fc60a9087 100644 --- a/tar-tree.c +++ b/tar-tree.c @@ -335,7 +335,7 @@ int main(int argc, char **argv) } else archive_time = time(NULL); - tree.buf = read_object_with_reference(sha1, "tree", &tree.size, + tree.buf = read_object_with_reference(sha1, tree_type, &tree.size, tree_sha1); if (!tree.buf) die("not a reference to a tag, commit or tree object: %s", |