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

Re: [PATCH] Calculate lines changed for cvs log command

From
FNFredrik Noring <noring@nocrew.org>
Date
Apr 13, 2008, 18:44 UTC
Message-ID
<20AD7252-19A2-443F-88CF-F871AE7A392E@nocrew.org>
In-Reply-To
<m3zlrxsnbt.fsf@localhost.localdomain>
Hi Jakub,

OK, I'll look deeper into the mailer issues. Any comments on the actual code in the patch, and the question regarding git-log vs git- cat-file?

Speaking of which -- is there any particular reason for not running git-log once, instead of forking it (or git-cat-file) for every commit in the log? There seems to be a special case for merges, but it'd appear to be more efficient to query the SQLite DB for the commits provided by git-log rather than the other way around, no?

Any thoughts?
(git-send-email appears to fail for me without providing an error.)

Many thanks, Fredrik

13 apr 2008 kl. 18.59 skrev Jakub Narebski:
Show 20 quoted lines
> Fredrik Noring <noring@nocrew.org> writes:
>
>> (My mailer destroys inline patches, so I'm attaching it. Sorry about
>> that.)
>
> Could you please attach it as 1.) attachement=inline if possible, to
> have them displayed along the email; 2.) use text/plain mimetype, not
> application/octet-stream (you might need to change patch extension
> from *.patch to *.txt; you can change default extension of files
> generated by git-format-patch via format.suffix configuration
> variable), and what is tied with it 3.) use Transfer-Encoding: 8bit
> (or something like that), not base64, and preferably not
> quoted-printable?
>
> Or change your mailer (or configure it), or use git-send-email.
> -- 
> Jakub Narebski
> Poland
> ShadeHawk on #git
>
Previous: Jakub NarebskiNext: Jakub Narebski
Message 3 of 5 in “Calculate lines changed for cvs log command”
  1. Calculate lines changed for cvs log commandFredrik Noring, Apr 13, 2008
  2. Jakub NarebskiApr 13, 2008
  3. Fredrik NoringApr 13, 2008
  4. Jakub NarebskiApr 13, 2008
  5. Fredrik NoringApr 14, 2008

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.