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

Breakage in master since 6d4bb3833c

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Oct 21, 2011, 12:10 UTC
Message-ID
<4EA1614D.3090202@alum.mit.edu>

When testing reference-handling performance using my refperf script [1], I noticed that there is a problem in master that I bisected down to

6d4bb3833c "fetch: verify we have everything we need before updating our ref"

When I run the following commands

======================================================= GIT=$(pwd)/git ORIG=bug-6d4bb383-repo REPO=bug-6d4bb383-clone URL=file://$(pwd)/$ORIG

$GIT init $ORIG cd $ORIG $GIT config gc.auto 0 $GIT config gc.packrefs false touch a.txt $GIT add a.txt $GIT commit -am 'Add file' cd ..

mkdir $REPO cd $REPO $GIT init $GIT remote add origin $URL $GIT fetch origin =======================================================

Then the last "git fetch origin" command gives the following output:
=======================================================
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]
  limiting output:
    --max-count=<n>
    --max-age=<epoch>
    --min-age=<epoch>
    --sparse
    --no-merges
    --min-parents=<n>
    --no-min-parents
    --max-parents=<n>
    --no-max-parents
    --remove-empty
    --all
    --branches
    --tags
    --remotes
    --stdin
    --quiet
  ordering output:
    --topo-order
    --date-order
    --reverse
  formatting output:
    --parents
    --children
    --objects | --objects-edge
    --unpacked
    --header | --pretty
    --abbrev=<n> | --no-abbrev
    --abbrev-commit
    --left-right
  special purpose:
    --bisect
    --bisect-vars
    --bisect-all
error: file:///home/mhagger/self/proj/git/git/bug-6d4bb383-repo did not
send all necessary objects
=======================================================

The same error occurs if all of the steps *except* the last one are done with a release version of git.

Michael
[1] branch "refperf" at git://github.com/mhagger/git.git
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Next: SZEDER Gábor
Message 1 of 5 in “Breakage in master since 6d4bb3833c”
  1. Michael HaggertyOct 21, 2011
  2. SZEDER GáborOct 21, 2011
  3. Michael HaggertyOct 21, 2011
  4. Junio C HamanoOct 21, 2011
  5. Michael HaggertyOct 22, 2011

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.