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

Re: [PATCH] refs.c: add a public is_branch function

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 15, 2014, 23:20 UTC
Message-ID
<20140715232051.GL12427@google.com>
In-Reply-To
<1405465358-27054-2-git-send-email-sahlberg@google.com>
Ronnie Sahlberg wrote:
Show 6 quoted lines
> Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
> ---
>  builtin/fsck.c | 5 -----
>  refs.c         | 2 +-
>  refs.h         | 2 ++
>  3 files changed, 3 insertions(+), 6 deletions(-)

Makes sense -- thanks. (This is an old one: v1.5.4-rc4~27 (2008-01-15), v1.5.4-rc4~30 (2008-01-15). Most of the running time of fsck is per-object, not per-ref, so maintainability here seems worth the performance cost.)

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Previous: Ronnie Sahlberg
Message 3 of 3 in “remove duplicate of is_branch”
  1. remove duplicate of is_branchRonnie Sahlberg, Jul 15, 2014
  2. refs.c: add a public is_branch functionRonnie Sahlberg, Jul 15, 2014
  3. Jonathan NiederJul 15, 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.