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

Re: [PATCH] pack-refs: remove all empty dirs under .git/{refs,logs/refs}

From
Thomas Adam <thomas@xteddy.org>
Date
Feb 11, 2012, 11:27 UTC
Message-ID
<CA+39Oz5CCxgM3s804VgnvvTYC2Yynt5YOdswD0cuZ8WWXTcqwA@mail.gmail.com>
In-Reply-To
<1328958484-4202-1-git-send-email-pclouds@gmail.com>
2012/2/11 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
>  static void prune_refs(struct ref_to_prune *r)
>  {
> +       struct string_list *list = get_empty_ref_directories();;
Double ";;" at end of line.
-- Thomas Adam
Previous: Nguyễn Thái Ngọc Duy
Message 10 of 10 in “Remove empty ref directories while reading loose refs”
  1. Remove empty ref directories while reading loose refsNguyễn Thái Ngọc Duy, Feb 10, 2012
  2. Junio C HamanoFeb 10, 2012
  3. Jeff KingFeb 10, 2012
  4. 1/2 pack-refs: remove all empty directories under $GIT_DIR/refsNguyễn Thái Ngọc Duy, Feb 11, 2012
  5. 2/2 Revert be7c6d4 (pack-refs: remove newly empty directories)Nguyễn Thái Ngọc Duy, Feb 11, 2012
  6. Junio C HamanoFeb 11, 2012
  7. Nguyen Thai Ngoc DuyFeb 11, 2012
  8. Junio C HamanoFeb 11, 2012
  9. pack-refs: remove all empty dirs under .git/{refs,logs/refs}Nguyễn Thái Ngọc Duy, Feb 11, 2012
  10. Thomas AdamFeb 11, 2012

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.