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

Re: [PATCH 1/2] refs: remove unused function invalidate_ref_cache

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Oct 27, 2013, 04:26 UTC
Message-ID
<526C9611.6090200@alum.mit.edu>
In-Reply-To
<1382806982-20634-1-git-send-email-stefanbeller@googlemail.com>
On 10/26/2013 07:03 PM, Stefan Beller wrote:
Show 10 quoted lines
> The function 'invalidate_ref_cache' was introduced in 79c7ca5 (2011-10-17,
> invalidate_ref_cache(): rename function from invalidate_cached_refs())
> by a rename and elevated to be publicly usable in 8be8bde (2011-10-17,
> invalidate_ref_cache(): expose this function in the refs API)
> 
> However it is not used anymore, as 8bf90dc (2011-10-17, write_ref_sha1():
> only invalidate the loose ref cache) and (much) later 506a760 (2013-04-22,
> refs: change how packed refs are deleted) removed any calls to this
> function. So it seems as if we don't need that function any more,
> good bye!
Looks good.  Stefan, thanks for cleaning up after me!
Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Stefan Beller
Message 3 of 3 in “refs: remove unused function invalidate_ref_cache”
  1. 1/2 refs: remove unused function invalidate_ref_cacheStefan Beller, Oct 26, 2013
  2. 2/2 cache: remove unused function 'have_git_dir'Stefan Beller, Oct 26, 2013
  3. Michael HaggertyOct 27, 2013

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.