# git tag truncates tag list

3 messages from 2021-01-05 to 2021-01-05. Participants: stratus@tuta.io, Kevin Daudt, Jeff King.
Thread: https://gitlist.dev/t/54931

## stratus@tuta.io, 2021-01-05 03:39

Subject: git tag truncates tag list
Message-ID: <MQFZ9EW--3-2@tuta.io>
URL: https://gitlist.dev/e/MQFZ9EW--3-2%40tuta.io

```
Dear git,
git tag misses out some tags from this repo here, there seem to be too many to show:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux

It cuts the list short, losing either the latest ones with simply 
git tag
 or the earliest using either 
git tag  --sort=-creatordate
  or 
git tag --sort=-taggerdate

 Is there some config option somewhere to show the full list?


```

## Kevin Daudt, 2021-01-05 05:45

Subject: Re: git tag truncates tag list
Message-ID: <X/P8+jZFs6LYoR6A@alpha>
URL: https://gitlist.dev/e/X%2FP8%2BjZFs6LYoR6A%40alpha
In-Reply-To: <MQFZ9EW--3-2@tuta.io>

```
On Tue, Jan 05, 2021 at 04:39:20AM +0100, stratus@tuta.io wrote:
> Dear git,
> git tag misses out some tags from this repo here, there seem to be too many to show:
> 
> https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
> 
> It cuts the list short, losing either the latest ones with simply 
> git tag
>  or the earliest using either 
> git tag  --sort=-creatordate
>   or 
> git tag --sort=-taggerdate
> 
>  Is there some config option somewhere to show the full list?
> 

That sounds like an issue with the pager. Does `git --no-pager tag` show
all tags?

What do the following things return:

  echo $LESS
  echo $GIT_PAGER
  git config core.pager
  git config pager.tag
  
Kind regards, Kevin

```

## Jeff King, 2021-01-05 06:47

Subject: Re: git tag truncates tag list
Message-ID: <X/QLds2oVvOAF1nb@coredump.intra.peff.net>
URL: https://gitlist.dev/e/X%2FQLds2oVvOAF1nb%40coredump.intra.peff.net
In-Reply-To: <MQFZ9EW--3-2@tuta.io>

```
On Tue, Jan 05, 2021 at 04:39:20AM +0100, stratus@tuta.io wrote:

> git tag misses out some tags from this repo here, there seem to be too many to show:
> 
> https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
> 
> It cuts the list short, losing either the latest ones with simply 
> git tag
>  or the earliest using either 
> git tag  --sort=-creatordate
>   or 
> git tag --sort=-taggerdate
> 
>  Is there some config option somewhere to show the full list?

I see 680 tags with all of those commands, which matches the number of
tags reported by:

  git ls-remote --tags --refs \
    https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux

Perhaps a silly question, but which tags do you think are missing? Are
you confused that 5.10 and 5.11 do not show up at the end? If so, it's
because they sort byte-wise between 5.1 and 5.2. So they're there, just
not at the end, with "git tag". When sorting by creatordate or
taggerdate, they appear at the beginning (because you chose a descending
sort).

-Peff

```
