From: Junio C Hamano Date: Fri, 05 Sep 2014 18:29:01 GMT Subject: Re: [RFC PATCHv2 1/2] am: add gitk patch format Message-ID: In-Reply-To: Chris Packham writes: > So teaching git mailinfo to do s/^ // (either when asked to or > using some heuristic) would be a better approach? I also think we > should accept "Author:" as an acceptable fallback if "From:" is not > present. Not as "a fallback" in the sense that "Author:" should not be treated any specially when "am" (which stands for "apply mail") is operating on the patches in e-mails. Whatever wants to convert the output from "log --pretty" as if it came from "log --pretty=email" would certainly need to flip "Author:" to "From:" (what should happen when it sees "From:" in the input, though???), and whatgver wannts to pick metainfo from "log --pretty" output like mailinfo does for "log --pretty=email" output would certainly need to pick the authorship from "Author:" (without paying any attention to "From:" if one exists).