Skip to content

error: Use of uninitialized value $hash in chomp #2029

Closed
@fgc0109

Description

@fgc0109
  • [√] I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
git version 2.20.1.windows.1
cpu: x86_64
built from commit: 7c9fbc07db0e2939b36095df45864b8cda19b64f
sizeof-long: 4
sizeof-size_t: 8
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [版本 10.0.17134.523]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
Editor Option: VisualStudioCode
Custom Editor Path: 
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

no

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

Git Bash

git svn clone
  • What did you expect to occur after running these commands?

a complete git repository

  • What actually happened instead?
fatal: Cannot open '.git/Git_svn_delta_20956_0_5Pu9eq': Invalid argument  
Use of uninitialized value $hash in chomp at C:/Program Files/Git/mingw64/share/ perl5/Git.pm line 929,  line 1369.                                         
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) ▒3▒▒▒/▒ at /usr/share/perl5/vendor_perl/Error.pm line 198 d uring global destruction.

it happened every time at same place (about r521)
i try only clone the newest version (r1321) it still happen

r521 seems add some folder or file
in new version i can't find them , they may be delete them or rename them
qq 20190117142802

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

sorry,it's not a public repository
but there is a same question here
error: Use of uninitialized value $hash in chomp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions