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

Re: [PATCH] git-count-objects --all support

From
Junio C Hamano <junkio@cox.net>
Date
Jan 22, 2006, 02:49 UTC
Message-ID
<7vslrhht8b.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060122022718.16375.78611.stgit@machine.or.cz>
Petr Baudis <pasky@suse.cz> writes:
> Having command called "git-count-objects" count only unpacked objects is
> a little strange and confusing. This patch adds a warning if packs are
> already present in the current repository,

The point of counting objects is to see if it is time to repack, so the warning is something I am quite hesitant to accept, even with a suppression option. The other way around is probably OK ("please warn me if I have packs"), but feels somewhat pointless.

The --all option might be a welcome addition, though.
Previous: Petr BaudisNext: Petr Baudis
Message 2 of 5 in “git-count-objects --all support”
  1. git-count-objects --all supportPetr Baudis, Jan 22, 2006
  2. Junio C HamanoJan 22, 2006
  3. Petr BaudisJan 22, 2006
  4. Junio C HamanoJan 22, 2006
  5. Junio C HamanoJan 22, 2006

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.