Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object_info: change member name from 'typename' to 'type_name'
[gitweb.git]
/
builtin
/
cat-file.c
diff --git
a/builtin/cat-file.c
b/builtin/cat-file.c
index f5fa4fd75af26a66cd1b2c0d493116704bc16dd5..d06c66c77ebda439e3143e3054a744d0b1462486 100644
(file)
--- a/
builtin/cat-file.c
+++ b/
builtin/cat-file.c
@@
-76,7
+76,7
@@
static int cat_one_file(int opt, const char *exp_type, const char *obj_name,
buf = NULL;
switch (opt) {
case 't':
- oi.typename = &sb;
+ oi.type
_
name = &sb;
if (sha1_object_info_extended(oid.hash, &oi, flags) < 0)
die("git cat-file: could not get object info");
if (sb.len) {