Package: git
Version: 1:2.15.1-1
Severity: grave

--- Please enter the report below this line. ---

git 2.15.x from testing can't properly fetch from remote repository:

$ git fetch --all
Fetching origin               
remote: Counting objects: 752, done.
remote: Total 752 (delta 578), reused 578 (delta 578), pack-reused 174
Receiving objects: 100% (752/752), 244.37 KiB | 1.89 MiB/s, done.
Resolving deltas: 100% (619/619), completed with 214 local objects.
fatal: bad object HEAD
error: https://github.com/torvalds/linux.git did not send all necessary objects
                              
error: Could not fetch origin 

Downgrading to 2.14.2-1~bpo9+1 from stretch-backports fixes the issue.
Both current 2.15.1-1 and previous 2.15.0-1 in testing are affected.

Example output from working version:

$ git fetch --all
Fetching origin
>From https://github.com/torvalds/linux
   968edbd93c0c..51090c5d6de0  master     -> origin/master

.git/config:
[fetch]
        prune = true
[remote "origin"]
        url = https://github.com/torvalds/linux.git
        fetch = +refs/heads/*:refs/remotes/origin/*


--- System information. ---
Architecture: 
Kernel:       Linux 4.14.4mq+

Debian Release: buster/sid
  900 testing-debug   debug.mirrors.debian.org 
  900 testing         ftp.pl.debian.org 
  800 stretch-backports ftp.pl.debian.org 
  750 stable          security.debian.org 
  750 stable          ftp.pl.debian.org 
  750 proposed-updates ftp.pl.debian.org 
  700 unstable        ftp.pl.debian.org 
  600 experimental    ftp.pl.debian.org 
  500 unstable-debug  debug.mirrors.debian.org 
  500 stable-debug    debug.mirrors.debian.org 
  500 stable          repository.spotify.com 
  500 stable          dl.google.com 
    1 experimental-debug debug.mirrors.debian.org 

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-================
libc6                     (>= 2.16) | 
libcurl3-gnutls         (>= 7.16.2) | 
libexpat1                (>= 2.0.1) | 
libpcre2-8-0                        | 
zlib1g                 (>= 1:1.2.0) | 
perl                                | 
liberror-perl                       | 
git-man               (>> 1:2.15.1) | 
git-man             (<< 1:2.15.1-.) | 


Recommends      (Version) | Installed
=========================-+-===========
patch                     | 2.7.5-1+b2
less                      | 487-0.1
ssh-client                | 


Suggests                 (Version) | Installed
==================================-+-===========
gettext-base                       | 0.19.8.1-4
git-daemon-run                     | 
 OR git-daemon-sysvinit            | 
git-doc                            | 
git-el                             | 
git-email                          | 1:2.15.1-1
git-gui                            | 
gitk                               | 1:2.15.1-1
gitweb                             | 
git-cvs                            | 
git-mediawiki                      | 
git-svn                            | 1:2.15.1-1

Reply via email to