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

Re: What's cooking in git.git (Jan 2013, #06; Mon, 14)

From
Adam Spiers <git@adamspiers.org>
Date
Jan 16, 2013, 12:06 UTC
Message-ID
<CAOkDyE-p9WLrsFZjPb9sY+YEypkF2wDxMybBkCT-76jBbKOmCA@mail.gmail.com>
In-Reply-To
<7v7gnd26pr.fsf@alter.siamese.dyndns.org>
On Wed, Jan 16, 2013 at 2:37 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 28 quoted lines
> Adam Spiers <git@adamspiers.org> writes:
>
>> On Mon, Jan 14, 2013 at 10:23 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>> * as/check-ignore (2013-01-10) 12 commits
>>>   (merged to 'next' on 2013-01-14 at 9df2afc)
>>>  + t0008: avoid brace expansion
>>>  + add git-check-ignore sub-command
>>>  + setup.c: document get_pathspec()
>>>  + add.c: extract new die_if_path_beyond_symlink() for reuse
>>>  + add.c: extract check_path_for_gitlink() from treat_gitlinks() for reuse
>>>  + pathspec.c: rename newly public functions for clarity
>>>  + add.c: move pathspec matchers into new pathspec.c for reuse
>>>  + add.c: remove unused argument from validate_pathspec()
>>>  + dir.c: improve docs for match_pathspec() and match_pathspec_depth()
>>>  + dir.c: provide clear_directory() for reclaiming dir_struct memory
>>>  + dir.c: keep track of where patterns came from
>>>  + dir.c: use a single struct exclude_list per source of excludes
>>>
>>>  Add a new command "git check-ignore" for debugging .gitignore
>>>  files.
>>
>> The above is v4 plus the "t0008: avoid brace expansion" fix.  v4 is
>> slightly outdated and not quite the right version to merge to 'next'.
>
> Sigh.
>
> The "What's cooking" is a report of what _has_ already happened.  I
> would have appreciated if you said the above _before_ this happened.
I did, 8 days ago in the link which you just trimmed from your reply:
  http://thread.gmane.org/gmane.comp.version-control.git/212184/focus=212856

The additional issues with t0008 were discovered after I posted v4, as reflected in last Wednesday's "What's cooking" (#04):

    "The test it adds seems to break under dash.
     Expecting a reroll or fixup."

I assumed that for brevity you had deliberately omitted mentioning the outstanding dir.exclude_list_group[EXC_CMDL].el[0] encapsulation issue linked above, so I thought we were aligned at this point.

However I see now that you changed the status to an intention to merge this to 'next' in last Friday's "What's cooking" (#05). That gave me a window of under 72 hours in which to reiterate the need for a final re-roll. Unfortunately with other commitments and illness over the weekend, I didn't catch this in time.

However, the damage is very small:
Show 7 quoted lines
>> I'll post a v5 re-roll as per:
>
> Now the series is in 'next', it is too late to _replace_ it X-<.
> Could you instead make an incremental updates on top?  That way, we
> do not have to re-review the whole thing; we only need to review the
> changes relative to the old one, making sure that the fixes in the
> updates are better than the v4 version.

Sure, that's easy to do. It'll be a single small patch very similar to this one:

  http://article.gmane.org/gmane.comp.version-control.git/212852
minus the superfluous printf() debug statements.  I'll do that now.

Thanks, Adam

Previous: Junio C HamanoNext: Adam Spiers
Message 6 of 9 in “What's cooking in git.git (Jan 2013, #06; Mon, 14)”
  1. Junio C HamanoJan 14, 2013
  2. Junio C HamanoJan 15, 2013
  3. Chris RorvickJan 15, 2013
  4. Adam SpiersJan 16, 2013
  5. Junio C HamanoJan 16, 2013
  6. Adam SpiersJan 16, 2013
  7. clean.c, ls-files.c: respect encapsulation of exclude_list_groupsAdam Spiers, Jan 16, 2013
  8. Junio C HamanoJan 16, 2013
  9. Junio C HamanoJan 16, 2013

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.