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

error: Use of uninitialized value $hash in chomp

From
ASAndrew Shearer <andrew@terabyte.co.nz>
Date
Dec 19, 2018, 02:42 UTC
Message-ID
<ME1PR01MB11218735004432E3E26C66FFE1BE0@ME1PR01MB1121.ausprd01.prod.outlook.com>
Hello

I am using a "git svn clone" command to extract our project history from svn into git. About 30m into the process it fails with:

r50739 = 2a1491de1353b1e3cce50d8f9d383407218a44f1 (refs/remotes/git-svn) fatal: Cannot open '.git/Git_svn_delta_33316_0_UkxiJV': Permission denied Use of uninitialized value $hash in chomp at C:/Program Files/Git/mingw64/share/perl5/Git.pm line 929, <GEN11> line 36311. hash-object -w --stdin-paths --no-filters: command returned error: 128

error closing pipe: Bad file descriptor at C:/Program Files/Git/mingw64/libexec/git-core\git-svn line 0.
error closing pipe: Bad file descriptor at C:/Program Files/Git/mingw64/libexec/git-core\git-svn line 0.
        (in cleanup)  at /usr/share/perl5/vendor_perl/Error.pm line 198 during global destruction.
I tried updating to the latest build, 2.20.1.windows, but it still fails.

There is nothing particularly special about svn changeset 50739 that I can see compared to any other. Anyone know why this might be failing or how I could resolve it?

Thanks Andrew

Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “error: Use of uninitialized value $hash in chomp”
  1. Andrew ShearerDec 19, 2018
  2. Ævar Arnfjörð BjarmasonDec 19, 2018
  3. Andrew ShearerDec 21, 2018
  4. Andrew ShearerJan 8, 2019

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.