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

[PATCH 1/3] git-bundle: handle thin packs in subcommand "unbundle"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 9, 2007, 02:48 UTC
Message-ID
<Pine.LNX.4.63.0703090347430.22628@wbgn013.biozentrum.uni-wuerzburg.de>

The patch to make the packs in a bundle thin forgot the receiving side. D'oh.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
	This starts a series of three brown paper bag patches.
 builtin-bundle.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/builtin-bundle.c b/builtin-bundle.c
index 6163358..33b533f 100644
--- a/builtin-bundle.c
+++ b/builtin-bundle.c
@@ -374,7 +374,8 @@ static int create_bundle(struct bundle_header *header, const char *path,
 static int unbundle(struct bundle_header *header, int bundle_fd,
 		int argc, const char **argv)
 {
-	const char *argv_index_pack[] = {"index-pack", "--stdin", NULL};
+	const char *argv_index_pack[] = {"index-pack",
+		"--fix-thin", "--stdin", NULL};
 	int pid, status, dev_null;
 
 	if (verify_bundle(header, 0))
-- 
1.5.0.3.2601.gc1e5-dirty
Message 1 of 1 in “git-bundle: handle thin packs in subcommand "unbundle"”
  1. 1/3 git-bundle: handle thin packs in subcommand "unbundle"Johannes Schindelin, Mar 9, 2007

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.