All of lore.kernel.org
 help / color / mirror / Atom feed
* git tag -h fatal error with global tag.sort config
@ 2021-09-12 11:28 Bagas Sanjaya
  2021-09-12 13:27 ` SZEDER Gábor
  0 siblings, 1 reply; 5+ messages in thread
From: Bagas Sanjaya @ 2021-09-12 11:28 UTC (permalink / raw)
  To: Git Users; +Cc: Jakub Wilk, Jonathan Nieder, Junio C Hamano, SZEDER Gábor

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-18  5:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 11:28 git tag -h fatal error with global tag.sort config Bagas Sanjaya
2021-09-12 13:27 ` SZEDER Gábor
2021-09-12 21:39   ` Jeff King
2021-09-13  4:37   ` Bagas Sanjaya
2021-10-18  5:24   ` Bagas Sanjaya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.