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

Re: Question relate to collaboration on git monorepo

From
Elijah Newren <newren@gmail.com>
Date
Sep 23, 2022, 02:08 UTC
Message-ID
<CABPp-BGspmm7FTdGcMwX+PwfEs+XeqDWG09Tfju-p6Ea9tneFA@mail.gmail.com>
In-Reply-To
<CAJoAoZ=yc+UA7G0MBpJYVCQ6symMQwPnpfK8Wd=sf6ebB1XOhA@mail.gmail.com>
On Thu, Sep 22, 2022 at 8:21 AM Emily Shaffer <emilyshaffer@google.com> wrote:
Show 5 quoted lines
>
> On Thu, Sep 22, 2022 at 7:24 AM Derrick Stolee <derrickstolee@github.com> wrote:
> >
> > On 9/21/2022 7:36 PM, Elijah Newren wrote:
> > > On Wed, Sep 21, 2022 at 8:22 AM ZheNing Hu <adlternative@gmail.com> wrote:
[...]
Show 9 quoted lines
> > > If you add --no-stat to your merge command (or set merge.stat to
> > > false), the extra blob will not be downloaded.
> >
> > This is an interesting find! I wonder how many people are hitting this
> > in the wild. Perhaps merge.stat should be added to the optional, but
> > recommended config options in scalar.c.
>
> Yeah, that's a weird one. I wonder whether the partial clone filter
> setting should also imply a config shutting off diffstats?

Yeah, ZheNing hit on an interesting case here, and their very careful problem description with full testcases helped immensely in finding the issue. I didn't spot it at first from the output, but being able to run his examples made it relatively easy to track down -- and then I noticed I could have figured out the same information from his output if I had known to look. Even if I didn't notice the output the first time around, having the problem be discoverable from his program output certainly made it easier to describe and explain the issue. :-)

Previous: Emily ShafferNext: Junio C Hamano
Message 7 of 12 in “Question relate to collaboration on git monorepo”
  1. ZheNing HuSep 20, 2022
  2. Emily ShafferSep 20, 2022
  3. ZheNing HuSep 21, 2022
  4. Elijah NewrenSep 21, 2022
  5. Derrick StoleeSep 22, 2022
  6. Emily ShafferSep 22, 2022
  7. Elijah NewrenSep 23, 2022
  8. Junio C HamanoSep 23, 2022
  9. Derrick StoleeSep 23, 2022
  10. ZheNing HuSep 23, 2022
  11. Elijah NewrenSep 21, 2022
  12. ZheNing HuSep 21, 2022

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.