"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
got ref -l tags?
To:
gameoftrees@openbsd.org
Date:
Mon, 18 Mar 2024 20:23:27 +0100

Download raw body.

Thread
I can briefly list the tags in a repository with

$ got ref -l refs/tags

Can I drop the "refs/"?  What is supposed to happen for

$ got ref -l tags

?
"If name is a reference namespace, list all references in this
namespace."  *scratches head*  So the two command above are equivalent?

Because in the FreeBSD src.git, they are not:

$ got ref -l refs/tags | wc -l
    3446
$ got ref -l tags | wc -l
      27

Is that a bug or do I misunderstand the intended behavior?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de