Re: [PATCH] format-patch: allow --no-patch to disable patch output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 8, 2016 at 11:30 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Jacob Keller <jacob.keller@xxxxxxxxx> writes:
>
>> So if I want to get the summary of a patch out of a commit without the
>> actual diff what would you suggest?
>
> "git log --stat"?
>
> If you have a set of (discrete) commits, "git show --stat A B C"?
>
>> Basically, I have a process where we have post processed code, and I
>> want to be able to generate a "patch" that shows the diff only of the
>> post-processed code, ie:
>
> If you want to script and depend on the exact output, you cannot
> depend on "log" or "show", so you would likely be doing "cat-file
> commit" for log message part and "diff-tree" (with options like -p
> and --stat) for the patch part, I guess.
>

The diff is being done on separate post-processed code, I can do that
part. I just couldn't figure out how to get the same "header" as
format-patch, but without the diff, which is when I saw no-patch, and
then saw that it didn't work.

Thanks,
Jake
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]