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

Re: Stacked GIT 0.3 (now more Quilt-like)

From
Junio C Hamano <junkio@cox.net>
Date
Jul 8, 2005, 01:24 UTC
Message-ID
<7vk6k2dr8i.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<m31x6acdcl.fsf@telia.com>
>>>>> "PO" == Peter Osterlund <petero2@telia.com> writes:

PO> I think it would be good if it was possible to include diffstat output PO> in exported patches, something like this:

PO> Added possibility to include diffstat output in exported patches.

And you wuold want to do things similarly to what others have already done. git-resolve-script uses "git-apply --stat" there, instead of "diffstat", so people without diffstat installed can still get the same information.

Even if you want to stick to "diffstat", at least I would suggest giving -p1, not -p0, to it; otherwise you would see b/ like what you have there.

PO> b/stgit/git.py | 22 ++++++++++++++++++++++ PO> b/stgit/main.py | 2 ++ PO> 2 files changed, 24 insertions(+)

Further, using "git-apply --stat --summary" would be nicer; this is something you cannot do with plain "diffstat".

Previous: Peter OsterlundNext: Peter Osterlund
Message 14 of 16 in “Stacked GIT 0.3 (now more Quilt-like)”
  1. Catalin MarinasJun 28, 2005
  2. Peter OsterlundJul 3, 2005
  3. Catalin MarinasJul 3, 2005
  4. Peter OsterlundJul 3, 2005
  5. Catalin MarinasJul 3, 2005
  6. Martin LanghoffJul 4, 2005
  7. Peter OsterlundJul 4, 2005
  8. randy_dunlapJul 4, 2005
  9. Catalin MarinasJul 4, 2005
  10. Catalin MarinasJul 6, 2005
  11. Peter OsterlundJul 7, 2005
  12. Catalin MarinasJul 7, 2005
  13. Peter OsterlundJul 8, 2005
  14. Junio C HamanoJul 8, 2005
  15. Peter OsterlundJul 8, 2005
  16. Catalin MarinasJul 8, 2005

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.