X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=log-tree.c;h=58b016378c153db0063dee556e1e4bacf64c6aed;hb=a5c8a98ca7e978c334e956df7ae2165c75c494da;hp=7e23e42788986257b9c108bcd340460a60a0cf88;hpb=698ce6f87e0d6db380f7306e190e8586da184577;p=git.git diff --git a/log-tree.c b/log-tree.c index 7e23e427..58b01637 100644 --- a/log-tree.c +++ b/log-tree.c @@ -100,7 +100,7 @@ void show_log(struct rev_info *opt, struct log_info *log, const char *sep) diff_unique_abbrev(commit->object.sha1, abbrev_commit)); if (opt->parents) show_parents(commit, abbrev_commit); - if (parent) + if (parent) printf(" (from %s)", diff_unique_abbrev(parent->object.sha1, abbrev_commit));