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

1 messages from 2007-03-09 to 2007-03-09. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/7157

## Johannes Schindelin, 2007-03-09 02:48

Subject: [PATCH 1/3] git-bundle: handle thin packs in subcommand "unbundle"
Message-ID: <Pine.LNX.4.63.0703090347430.22628@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0703090347430.22628%40wbgn013.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

```
