Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-list: fix finish_object() call
[gitweb.git]
/
builtin
/
rev-list.c
diff --git
a/builtin/rev-list.c
b/builtin/rev-list.c
index 56727e8c1d9d87fe3e3bf3919ba86d27d0735758..d789279309ed544dd31520fffea55494f4cc9eff 100644
(file)
--- a/
builtin/rev-list.c
+++ b/
builtin/rev-list.c
@@
-182,7
+182,7
@@
static void show_object(struct object *obj, const struct name_path *path, const
*/
const char *ep = strchr(name, '\n');
- finish_object(obj, path,
name
);
+ finish_object(obj, path,
component
);
if (ep) {
printf("%s %.*s\n", sha1_to_hex(obj->sha1),
(int) (ep - name),