Subject: Re: limiting git branch --contains

From: Oswald Buddenhagen <[email-masked]>
Date: Fri, 24 Mar 2023 20:58:39 +0100

On Fri, Mar 24, 2023 at 03:13:02PM -0400, Jeff King wrote:
>On Fri, Mar 24, 2023 at 08:02:53PM +0100, Oswald Buddenhagen wrote:
>> maybe the operation just forgets to load the graph?
>
so i strace'd the thing, and there is indeed no appearance of 
'commit-graph' in the log.

so i tried git log --graph ... and still nothing?!

and yes, core.commitgraph is true (originally absent, so same thing).

>That seems weird.
indeed.

so weird in fact, that i tried another repository. and it works!

so apparently something is wrong with my/the linux repository.
things i can imagine contributing to throwing it off somehow:

$ git remote -v
alsa    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git (fetch)
alsa    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git (push)
history git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git (fetch)
history git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git (push)
linux-mips      git://git.linux-mips.org/pub/scm/ralf/linux (fetch)
linux-mips      git://git.linux-mips.org/pub/scm/ralf/linux (push)
linux-wireless  git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers (fetch)
linux-wireless  git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers (push)
origin  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (fetch)
origin  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (push)
ossi    [email-masked]:ossilator/linux.git (fetch)
ossi    [email-masked]:ossilator/linux.git (push)

(the linux-* remotes haven't been pulled for years.)

$ grep replace .git/packed-refs
a3628e41a9946c4fe93d9b2ae5906e1b2184fa8e refs/replace/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

>What version of Git are you using?
>
rather recent master. dogfeeding my contributions.