Web lists-archives.com

Re: [PATCH] log: add %S option (like --source) to log --format




issac.trotts@xxxxxxxxx writes:

> From: Issac Trotts <issac.trotts@xxxxxxxxx>

I think you want to have 

	From: Issac Trotts <issactrotts@xxxxxxxxxx>

instead, so that the authorship actually matches your sign-off.

> -	if (source) {
> +	if (source || (rev->pretty_given && (rev->commit_format == CMIT_FMT_USERFORMAT) && w.source)) {

I am not sure why the above is not simply

	if (source || w.source) {

but needs to check pretty-given etc.  Care to explain why?

Thanks.