On Wed, 9 Jan 2008, Junio C Hamano wrote:Right; I'd keep it the same for all cases in which the patch is not applied: "git apply --check" (which doesn't apply it regardless) or when whitespace errors prevent application; so the message would be, in either case, appropriate to the workflow. In fact, in your workflow, it wouldn't make any sense to give the resulting location of the whitespace, because that version of the file hasn't been created. I think that only one of the possible location reports is actually helpful: if it wasn't applied, the line in the patch file; if it was, the line in the working tree. I should point out that, in this particular series, the non-compliant whitespace is in the "expected result" file for tests for email message generation, and it actually has to be like that. The annoying thing is that it's not clear what file has the trailing whitespace, so it's not clear that it is supposed to be that way from the message. -Daniel *This .sig left intentionally blank* - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Stephane Jourdois | Re: 2.6.21-rc4-mm1 [PATCH] init/missing_syscalls.h fix |
| David Brown | Re: Linux 2.6.21-rc2 |
| Andi Kleen | [PATCH] [1/12] x86: Work around mmio config space quirk on AMD Fam10h |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Miller | Re: [GIT]: Networking |
| David Woodhouse | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
