git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add --show-size to git log to print message size

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jul 16, 2007, 18:02 UTC
Message-ID
<e5bfff550707161102n3b6da174i7bbff64e1739a1b2@mail.gmail.com>
In-Reply-To
<e5bfff550707161055i2f12b858n7be155765fb664@mail.gmail.com>
On 7/16/07, Marco Costalba <mcostalba@gmail.com> wrote:
Show 11 quoted lines
> On 7/16/07, Junio C Hamano <gitster@pobox.com> wrote:
> >
> > I'd say making --show-message-size option incompatible with diff output
> > would be good enough futureproofing for now.
> >
> Oooops, I didn't see your post.
>
> I agree 100%, please tell me if doc it's clear enough or it would be
> better to clarify that "message log" it means only message and no diff
> content.
>

Sorry to bother you again, but my English is very bad and I would like to be clear.

When i say no diff content I mean that git log --log-size -p it's a perfect valid command but --log-size will make git print the size of _only_ the log part, it means from the line after "log size xxx\n" until the end of log message that can be '\0' (if no diff) or the beginning of diff part.

Sorry to be pedantic.
Marco
Previous: Marco CostalbaNext: Junio C Hamano
Message 23 of 29 in “Add --show-size to git log to print message size”
  1. Add --show-size to git log to print message sizeMarco Costalba, Jul 14, 2007
  2. Junio C HamanoJul 14, 2007
  3. Marco CostalbaJul 14, 2007
  4. Alex RiesenJul 15, 2007
  5. Marco CostalbaJul 15, 2007
  6. Alex RiesenJul 15, 2007
  7. Marco CostalbaJul 15, 2007
  8. Marco CostalbaJul 15, 2007
  9. SeanJul 15, 2007
  10. Marco CostalbaJul 15, 2007
  11. SeanJul 15, 2007
  12. Marco CostalbaJul 15, 2007
  13. SeanJul 15, 2007
  14. Marco CostalbaJul 15, 2007
  15. SeanJul 15, 2007
  16. Marco CostalbaJul 15, 2007
  17. Linus TorvaldsJul 15, 2007
  18. Marco CostalbaJul 15, 2007
  19. Marco CostalbaJul 16, 2007
  20. Alex RiesenJul 16, 2007
  21. Junio C HamanoJul 16, 2007
  22. Marco CostalbaJul 16, 2007
  23. Marco CostalbaJul 16, 2007
  24. Junio C HamanoJul 16, 2007
  25. Marco CostalbaJul 16, 2007
  26. Andy ParkinsJul 17, 2007
  27. Marco CostalbaJul 17, 2007
  28. Junio C HamanoJul 25, 2007
  29. Marco CostalbaJul 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.