Your message dated Wed, 27 May 2020 13:33:45 -0700
with message-id <[email protected]>
and subject line Re: git pull downloads all objects again
has caused the Debian Bug report #954765,
regarding git: git pull downloads all objects again
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
954765: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954765
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git
Version: 1:2.26.0~rc2-1
Severity: important

I have a git repository for the Linux kernel where I track both Linus'
and the stable repository.

,----
| $ git remote --verbose show
| origin  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
(fetch)
| origin  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
(push)
| stable  https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
(fetch)
| stable  https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
(push)
`----

A few days ago, after the update to 2.26.0-rc2, I fetched from the
stable tree.  This triggered a run of "git gc --auto" in the background
as there were more than 6700 loose objects.

This morning I pulled from Linus' tree, and it downloaded _a lot_ of
objects.  Both that and resolving deltas took quite some time, as one
might imagine.

,----
| $ git pull
| remote: Enumerating objects: 7226920, done.
| remote: Counting objects: 100% (7226920/7226920), done.
| remote: Compressing objects: 100% (1098637/1098637), done.
| remote: Total 7226920 (delta 6082531), reused 7224317 (delta 6080838)
| Receiving objects: 100% (7226920/7226920), 1.18 GiB | 3.95 MiB/s, done.
| Resolving deltas: 100% (6082531/6082531), done.
`----

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-rc6-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git depends on:
ii  git-man          1:2.26.0~rc2-1
ii  libc6            2.30-2
ii  libcurl3-gnutls  7.68.0-1
ii  liberror-perl    0.17029-1
ii  libexpat1        2.2.9-1
ii  libpcre2-8-0     10.34-7
ii  perl             5.30.0-9
ii  zlib1g           1:1.2.11.dfsg-2

Versions of packages git recommends:
ii  ca-certificates              20190110
ii  less                         551-1
ii  openssh-client [ssh-client]  1:8.2p1-4
ii  patch                        2.7.6-6

Versions of packages git suggests:
ii  gettext-base                          0.19.8.1-10
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
ii  git-doc                               1:2.26.0~rc2-1
pn  git-el                                <none>
ii  git-email                             1:2.26.0~rc2-1
ii  git-gui                               1:2.26.0~rc2-1
pn  git-mediawiki                         <none>
ii  git-svn                               1:2.26.0~rc2-1
ii  gitk                                  1:2.26.0~rc2-1
pn  gitweb                                <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:2.27.0~rc0-1

Hi,

Sven Joachim wrote:
> On 2020-03-23 18:57 +0100, Sven Joachim wrote:
>> On 2020-03-23 07:10 +0100, Sven Joachim wrote:

>>> I have a git repository for the Linux kernel where I track both Linus'
>>> and the stable repository.
>>>
>>> ,----
>>> | $ git remote --verbose show
>>> | origin  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
>>> (fetch)
>>> | origin  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
>>> (push)
>>> | stable  https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
>>> (fetch)
>>> | stable  https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
>>> (push)
>>> `----
>>>
>>> A few days ago, after the update to 2.26.0-rc2, I fetched from the
>>> stable tree.  This triggered a run of "git gc --auto" in the background
>>> as there were more than 6700 loose objects.
>>>
>>> This morning I pulled from Linus' tree, and it downloaded _a lot_ of
>>> objects.
[...]
>> Additionally, the size of the .git directory ballooned to ~3.5 GiB after
>> that.  Running "git gc" manually reduced it to ~2 GiB which I think is
>> normal.

This is fixed by

 commit 2f0a093dd640e0dad0b261dae2427f2541b5426c
 Author: Jonathan Tan <[email protected]>
 Date:   Mon Apr 27 17:01:10 2020 -0700

    fetch-pack: in protocol v2, reset in_vain upon ACK

which is part of 2.27.0-rc0.

Thanks,
Jonathan

--- End Message ---

Reply via email to