Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rk/send-email-ssl-cert'
[gitweb.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index c5953e56154a989dfa218bdc3acc66ec371ffaef..b4d771673e7e9dccacbae8b29f4f1cd6a835151f 100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-502,7
+502,7
@@
static void add_verbose_info(struct strbuf *out, struct ref_item *item,
const char *sub = _(" **** invalid ref ****");
struct commit *commit = item->commit;
- if (
commit &&
!parse_commit(commit)) {
+ if (!parse_commit(commit)) {
pp_commit_easy(CMIT_FMT_ONELINE, commit, &subject);
sub = subject.buf;
}