Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert read_object_with_reference to object_id
[gitweb.git]
/
builtin
/
blame.c
diff --git
a/builtin/blame.c
b/builtin/blame.c
index b980e8a1ddb5056dccf6d51cc33fc42026e3a517..f1a2fd67029e6980d317da5136aece233ba192f1 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-655,7
+655,7
@@
static int is_a_rev(const char *name)
if (get_oid(name, &oid))
return 0;
- return OBJ_NONE <
sha1_object_info(oid.hash
, NULL);
+ return OBJ_NONE <
oid_object_info(&oid
, NULL);
}
int cmd_blame(int argc, const char **argv, const char *prefix)