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

Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 1, 2017, 23:09 UTC
Message-ID
<xmqqy3outqgz.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<5f7dbd81-ae27-c3a2-a14d-2832f71db1e9@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
Show 9 quoted lines
> On 9/29/2017 12:34 AM, Junio C Hamano wrote:
>> * ds/find-unique-abbrev-optim (2017-09-19) 4 commits
>>   - SQUASH???
>>   - sha1_name: parse less while finding common prefix
>>   - sha1_name: unroll len loop in find_unique_abbrev_r()
>>   - sha1_name: create perf test for find_unique_abbrev()
>
> I'll re-roll my patch on Monday if reviews have stabilized. I think I
> understand your comments this time (especially around 32-bit ints).
Will look forward to seeing them.
> What does "SQUASH???" mean? Is that why there are three meaningful
> commits in this note, despite my five-commit patch? Would you like me
> to squash the commits in v3?
These are found on 'pu' branch; you can check output from
    git log --oneline --first-parent origin/master..origin/pu
to see where ds/find-unique-abbrev-optim topic was merged, e.g.
    $ git log --oneline --first-parent origin/master..origin/pu | grep ds/fi
    d8c0323166 Merge branch 'ds/find-unique-abbrev-optim' into jch
and you'll find these four commits with:
    $ git log -p origin/master..d8c0323166^2

I knew you had more patches, but I looked at the first three, found a few glitches that I knew will have to be rerolled, and stopped looking at the remainder of the series at that point (not because I felt the topic was helpless, but because I needed to switch my attention to other topics), so that is why the only three from the beginning is queued there. Then I found that with these three, the tree does not even compile, but I wanted to make sure that 'pu' at least builds before I push it out, so I created another commit on top of these three patches as a fix-up to make it compile, so that I can merge the topic to 'pu'. This is done in the hope that it would help contributors more (by showing a small fix that needs to be squashed into relevant patches when the topic is updated and re-sent) than plain dropping a topic that does not compile or pass test on the floor.

So that is what a SQUASH??? commit at the tip of some topics mean.
Thanks.
Previous: Stefan BellerNext: Martin Ågren
Message 5 of 7 in “What's cooking in git.git (Sep 2017, #06; Fri, 29)”
  1. Junio C HamanoSep 29, 2017
  2. Ian CampbellSep 29, 2017
  3. Derrick StoleeSep 29, 2017
  4. Stefan BellerSep 29, 2017
  5. Junio C HamanoOct 1, 2017
  6. Martin ÅgrenOct 2, 2017
  7. Junio C HamanoOct 2, 2017

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.