threads / discuss / 52282

Multiple empty "remote:" lines during remote update

Subject: Multiple empty "remote:" lines during remote update

## tl;dr

4 messages between Nov 18, 2019 and Nov 18, 2019.

replies: 3people: 3as markdown or json

Jiri Slaby· Nov 18, 2019, 08:34 UTC · lore
Hi,
since some time (weeks or months), I am seeing this:
$ git --version
git version 2.24.0
$ git remote update
Fetching origin
remote:
        remote:
                remote:
                        remote:
                                remote:
                                        remote:
                                                remote:
                                                        remote:
                                                                remote:
Enumerating objects: 7180748, done.
remote:
        remote:
                remote:
                        remote:
                                <lot of lines>
                                          remote:
                                                  remote:
                                                          remote:
remote: Counting objects: 100% (7180748/7180748), done.
remote:
        remote:
                remote:
                        remote:
<lot of lines>
remote:
        remote:
                remote:
                        remote:
                                remote:
                                        remote:
                                                remote:
                                                        remote:
Compressing objects: 100% (1079308/1079308), done.

It looks like the self-overwriting line showing the current state (count of objects, percents, ...) does not work properly. It looks like the part after semicolon is removed, but a newline is emitted anyway. And a new "remote: ..." is printed again.

Any ideas?
thanks,
-- 
js
suse labs
Jeff King· Nov 18, 2019, 11:44 UTC · re: Jiri Slaby · lore

Re: Multiple empty "remote:" lines during remote update

On Mon, Nov 18, 2019 at 09:34:46AM +0100, Jiri Slaby wrote:
Show 7 quoted lines
> since some time (weeks or months), I am seeing this:
> $ git --version
> git version 2.24.0
> $ git remote update
> Fetching origin
> remote:
>         remote:

This was a bug in v2.22.1, which has been fixed in v2.24.0. However, the bug is on the remote side, so whether you see it depends on which version of Git the server has installed.

-Peff
Jiri Slaby· Nov 18, 2019, 11:59 UTC · re: Jeff King · lore

Re: Multiple empty "remote:" lines during remote update

On 18. 11. 19, 12:44, Jeff King wrote:
Show 13 quoted lines
> On Mon, Nov 18, 2019 at 09:34:46AM +0100, Jiri Slaby wrote:
> 
>> since some time (weeks or months), I am seeing this:
>> $ git --version
>> git version 2.24.0
>> $ git remote update
>> Fetching origin
>> remote:
>>         remote:
> 
> This was a bug in v2.22.1, which has been fixed in v2.24.0. However, the
> bug is on the remote side, so whether you see it depends on which
> version of Git the server has installed.
OK, thanks.

$ git remote -v origin git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git (fetch) origin git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git (push)

CCing Konstantin, in case he does not know yet...
thanks,
-- 
js
suse labs
Konstantin Ryabitsev· Nov 18, 2019, 13:35 UTC · re: Jiri Slaby · lore

Re: Multiple empty "remote:" lines during remote update

On Mon, Nov 18, 2019 at 12:59:52PM +0100, Jiri Slaby wrote:
Show 25 quoted lines
> On 18. 11. 19, 12:44, Jeff King wrote:
> > On Mon, Nov 18, 2019 at 09:34:46AM +0100, Jiri Slaby wrote:
> > 
> >> since some time (weeks or months), I am seeing this:
> >> $ git --version
> >> git version 2.24.0
> >> $ git remote update
> >> Fetching origin
> >> remote:
> >>         remote:
> > 
> > This was a bug in v2.22.1, which has been fixed in v2.24.0. However, the
> > bug is on the remote side, so whether you see it depends on which
> > version of Git the server has installed.
> 
> OK, thanks.
> 
> $ git remote -v
> origin
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
> (fetch)
> origin
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git (push)
> 
> CCing Konstantin, in case he does not know yet...

I'm aware of it, but I'm hoping IUS starts providing either a patched git222 package, or a new git-224 package where this bug is fixed. Since it's a purely cosmetic problem, I don't want to patch it locally.

CCing devs at IUS for their info.
-K

← back to recent threads