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

Re: [RFC PATCH v2 2/3] mailinfo: collect commit metadata from mail

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 29, 2019, 01:39 UTC
Message-ID
<20191029013917.4uow3iuvrzwfxges@camp.crustytoothpaste.net>
In-Reply-To
<dd71ec21-5e41-1781-5d5c-f37f7f019fa7@oracle.com>
On 2019-10-28 at 11:48:14, Vegard Nossum wrote:
Show 13 quoted lines
> Hi!
> 
> Thanks for the feedback.
> 
> I rebased on your branch and ran the tests without any problems.
> 
> t5100 is fine for me -- the file above is only used for testing the mail
> splitting algorithm, so the choice of hashing algorithm should be
> irrelevant for the test. That's also why I chose to use a personal key
> for the signature, the other tests also use pregenerated emails to avoid
> testing the email generation in those tests. (It could be useful to
> include those "historical" test cases, which should still work in case
> the format ever changes again in the future.)

Okay, great. Thanks for checking, since it looked like we might use the commit data in the buffer, but if this is only for mail splitting, then I agree there's no problem.

> The other tests generate the commits/emails within the test. Are you
> sure you resolved the conflict in t4150 correctly (i.e. leaving out the
> gitattributes test at the end)?

I may have misresolved it, but I've just rebased on master and the two versions of t4150 (master and my branch) are now identical, so hopefully I haven't regressed anything in my new version.

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Vegard NossumNext: Vegard Nossum
Message 6 of 7 in “format-patch --complete / am --exact”
  1. 0/3 format-patch --complete / am --exactVegard Nossum, Oct 22, 2019
  2. 1/3 format-patch: add --completeVegard Nossum, Oct 22, 2019
  3. 2/3 mailinfo: collect commit metadata from mailVegard Nossum, Oct 22, 2019
  4. brian m. carlsonOct 27, 2019
  5. Vegard NossumOct 28, 2019
  6. brian m. carlsonOct 29, 2019
  7. 3/3 am: add --exactVegard Nossum, Oct 22, 2019

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.