Thread (5 messages) flat view 5 messages, 3 authors, 2021-10-18

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

From: Bagas Sanjaya <hidden>
Date: 2021-09-12 11:29:01

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help