Re: [PATCH v3] blame: print unblamable and ignored commits in porcelain mode
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 30, 2025, 04:56 UTC
- Message-ID
- <xmqqecyfazg2.fsf@gitster.g>
- In-Reply-To
- <20250329-514-git-blame-1-s-porcelain-output-does-not-emit-unblamable-and-ignored-markers-v3-1-10f695ae519a@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 7 quoted lines
> +static void emit_porcelain_per_line_details(struct blame_entry *ent)
> +{
> + if (mark_unblamable_lines && ent->unblamable)
> + puts("unblamable\n");
> + if (mark_ignored_lines && ent->ignored)
> + puts("ignored\n");
> +}Doesn't puts(3), unlike fputs(3), add its own trailing newline to stdout?