Re: How to get status-like short format for old commits?

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

 



On Mon, Mar 26, 2012 at 08:53:45PM +0200, Piotr Krukowiecki wrote:

> [log --name-status]
> not so nice as status, but still ok.

Yeah, the code to print the verbose "modified: foo.c" style is specific
to status. We could refactor it to be a new generic diff output type,
which would not be that hard. In practice, though, I think people choose
either "--stat --summary" if they want to show to a person (it's a
superset of what status shows, because it also contains the number of
lines changed for each file), or "--raw" if they need something
machine-readable.

Does one of those work for you? If not, it might be a fun and relatively
simple exercise to create a --verbose-name-status that looks like the
output of "git status" (you could also do it by post-processing
--name-status output, but that is less fun and more hacky :) ).

-Peff
--
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]