git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature suggestion: Filter branches by user

From
Jacob Keller <jacob.keller@gmail.com>
Date
Jan 30, 2019, 21:49 UTC
Message-ID
<CA+P7+xqv0bH+TfeN8eG0b1XT7zNdvxJxsdOktywQdpA0DS5EBQ@mail.gmail.com>
In-Reply-To
<1fd0fabb-a9e3-da85-0b00-e00578bd2ccd@narod.ru>
On Wed, Jan 30, 2019 at 7:22 AM Victor Porton <porton@narod.ru> wrote:
Show 8 quoted lines
>
> I want Git to display all branches created by me.
>
> So we need the new feature of Git, to display all branches created by a
> given user ("me" by default).
>
> I think, the similar feature for tags may also be useful.
>

Branches don't contain authorship, as far as I know. Annotated tags do, but lightweight tags do not.

For annotated tags you should be able to build an alias which lists all the tag objects and includes the author, i.e.

git for-each-ref --format='%(refname)%09%(tagger)' refs/tags
This will list the refname along with its tagger.

I'm sure patches to add a "--tagger" option to git tag in list mode would also be welcome.

Thanks, Jake

Previous: Victor PortonNext: Jacob Keller
Message 2 of 3 in “Feature suggestion: Filter branches by user”
  1. Victor PortonJan 30, 2019
  2. Jacob KellerJan 30, 2019
  3. Jacob KellerJan 30, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.