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

Re: What's cooking in git.git (Feb 2010, #06; Tue, 23)

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 24, 2010, 23:42 UTC
Message-ID
<7v635m6w0r.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.2.00.1002241004010.1946@xanadu.home>
Nicolas Pitre <nico@fluxnic.net> writes:
Show 12 quoted lines
> On Tue, 23 Feb 2010, Junio C Hamano wrote:
>
>> * ne/pack-local-doc (2010-02-18) 1 commit
>>  - Documentation: pack-objects: Clarify --local's semantics.
>> 
>> Comments from pack experts?
>
> The patch is fine in the sense that what it modifies was indeed wrong.
>
> However the "even if it appears in the standard input" formulation 
> should also be fixed as the object list may be specified with a rev spec 
> on the command line, and not necessarily only via standard input.
Ah, true.  Perhaps something like this.
-- >8 --
Subject: pack-objects documentation: reword "objects that appear in the standard input"

These were written back when we always read objects from the standard input. These days --revs and its friends can feed only the start and end points and have the command internally enumerate the objects.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-pack-objects.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 769f1de..1deaa65 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -120,12 +120,12 @@ base-name::
 
 --incremental::
 	This flag causes an object already in a pack to be ignored
-	even if it appears in the standard input.
+	even if it would have otherwise been packed.
 
 --local::
 	This flag causes an object that is borrowed from an alternate
-	object store to be ignored even if it appears in the standard
-	input.
+	object store to be ignored even if it would have otherwise been
+	packed.
 
 --non-empty::
         Only create a packed archive if it would contain at
Previous: Nicolas PitreNext: Nelson Elhage
Message 5 of 7 in “What's cooking in git.git (Feb 2010, #06; Tue, 23)”
  1. Junio C HamanoFeb 24, 2010
  2. Tay Ray ChuanFeb 24, 2010
  3. Jeff KingFeb 24, 2010
  4. Nicolas PitreFeb 24, 2010
  5. Junio C HamanoFeb 24, 2010
  6. Nelson ElhageFeb 25, 2010
  7. Sverre RabbelierFeb 25, 2010

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.