Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add an option for using any HTTP authentication scheme, not only basic
[gitweb.git]
/
builtin-branch.c
diff --git
a/builtin-branch.c
b/builtin-branch.c
index 9f57992062314a3d8d168b5cfb6b3c6737605033..05e876e28554fec546ee4256bf3576dcb8017047 100644
(file)
--- a/
builtin-branch.c
+++ b/
builtin-branch.c
@@
-387,8
+387,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;
}