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

Re: Allow "git shortlog" to group by committer information

From
Jacob Keller <jacob.keller@gmail.com>
Date
Dec 21, 2016, 07:55 UTC
Message-ID
<CA+P7+xrMgzFcuqwBg6z2_ZPgAVKwLX2eyK6D4C0v-c3zAMFqUg@mail.gmail.com>
In-Reply-To
<20161221032221.s7jmgnfrr6tyuyuk@sigill.intra.peff.net>
On Tue, Dec 20, 2016 at 7:22 PM, Jeff King <peff@peff.net> wrote:
Show 18 quoted lines
> On Tue, Dec 20, 2016 at 10:35:36AM -0800, Junio C Hamano wrote:
>
>> -- >8 --
>> Subject: SQUASH???
>>
>> Make sure the test does not depend on the result of the previous
>> tests; with MINGW prerequisite satisfied, a "reset to original and
>> rebuild" in an earlier test was skipped, resulting in different
>> history being tested with this and the next tests.
>
> Yeah, this looks good, and obviously correct.
>
> I do wonder if in general it should be the responsibility of skippable
> tests to make sure we end up with the same state whether they are run or
> not. That might manage the complexity more. But I certainly don't mind
> tests being defensive like you have here.
>
> -Peff

That seems like a good idea, but I'm not sure how you would implement it in practice? Would we just "rely" on a skipable test having a "do this if we skip, instead" block? That would be easier to spot but I think still relies on the skip-able tests being careful?

Thanks, Jake

Previous: Jeff KingNext: Jeff King
Message 22 of 24 in “Allow "git shortlog" to group by committer information”
  1. Linus TorvaldsOct 11, 2016
  2. Jeff KingOct 11, 2016
  3. Linus TorvaldsOct 11, 2016
  4. Jeff KingOct 11, 2016
  5. Linus TorvaldsDec 15, 2016
  6. Junio C HamanoDec 16, 2016
  7. Linus TorvaldsDec 16, 2016
  8. Junio C HamanoDec 16, 2016
  9. 1/1 Allow "git shortlog" to group by committer informationLinus Torvalds, Dec 16, 2016
  10. Stephen & Linda SmithDec 16, 2016
  11. Linus TorvaldsDec 16, 2016
  12. Jeff KingDec 16, 2016
  13. Jeff KingDec 16, 2016
  14. Junio C HamanoDec 16, 2016
  15. Johannes SixtDec 20, 2016
  16. Junio C HamanoDec 20, 2016
  17. Junio C HamanoDec 20, 2016
  18. Junio C HamanoDec 20, 2016
  19. Johannes SixtDec 20, 2016
  20. Johannes SixtDec 21, 2016
  21. Jeff KingDec 21, 2016
  22. Jacob KellerDec 21, 2016
  23. Jeff KingDec 21, 2016
  24. Junio C HamanoDec 21, 2016

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.