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

Re: Get all tips quickly

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 13, 2014, 18:29 UTC
Message-ID
<CACBZZX7C+TyDy0=DhnYp81hR8aNoa0Na2sBOYOxk6jF=hh_fVg@mail.gmail.com>
In-Reply-To
<4A7A3A96-DC10-4748-BBCC-F52F48977022@jetbrains.com>

On Sun, Apr 13, 2014 at 4:19 PM, Kirill Likhodedov <kirill.likhodedov@jetbrains.com> wrote:

> Hi,
>
> What is fastest possible way to get all “tips” (leafs of the Git log graph) in a Git repository with hashes of commits they point to?
Tried "git for-each-ref" and the various options it has?
Doing this for 35k tags is still going to be non-trivial.
Previous: Kirill LikhodedovNext: Michael Haggerty
Message 2 of 4 in “Get all tips quickly”
  1. Kirill LikhodedovApr 13, 2014
  2. Ævar Arnfjörð BjarmasonApr 13, 2014
  3. Michael HaggertyApr 13, 2014
  4. Kirill LikhodedovApr 14, 2014

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.