git tag -h fatal error with global tag.sort config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I stumbled on Debian bug report [1], and I can reproduce the bug.

In global config (~/.gitconfig), I set:

```
[tag]
	sort = creatordate
```

When I run `git tag -h` inside a Git repository (such as git.git), instead of usage summary, I got:

```
fatal: not a git repository, but the field 'creatordate' requires access to object data
```

But plain `git tag` works fine.

This bug occurs on v2.33.0 as well as version in the original bug report (v2.26.0-rc2) and v2.25.1.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954811

--
An old man doll... just what I always wanted! - Clara



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux