Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Notes API: for_each_note(): Traverse the entire notes tree with a callback
[gitweb.git]
/
builtin-branch.c
diff --git
a/builtin-branch.c
b/builtin-branch.c
index 0c84f9f9eb75babf69eb5503f83bce5645477609..ddc9f2dab7f3b55e4cd0cffbf303a3ad108fd431 100644
(file)
--- a/
builtin-branch.c
+++ b/
builtin-branch.c
@@
-389,8
+389,9
@@
static void print_ref_item(struct ref_item *item, int maxwidth, int verbose,
commit = item->commit;
if (commit && !parse_commit(commit)) {
+ struct pretty_print_context ctx = {0};
pretty_print_commit(CMIT_FMT_ONELINE, commit,
- &subject,
0, NULL, NULL, 0, 0
);
+ &subject,
&ctx
);
sub = subject.buf;
}