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

[PATCH] git-clone: don't unpack objects

From
THTimo Hirvonen <tihirvon@gmail.com>
Date
Oct 19, 2005, 12:43 UTC
Message-ID
<20051019154341.2aed6998.tihirvon@gmail.com>
Pass --keep flag to git-clone-pack.
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
---
 git-clone.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

applies-to: 984b42b74993da2be26cd2b50ac1d3e74b0c4cd5 63a266005116dd914c85b4c5f97d0e628f0b37ec

diff --git a/git-clone.sh b/git-clone.sh
index 18e692a..152ba15 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -184,8 +184,8 @@ yes,yes)
 		;;
 	*)
 		cd "$D" && case "$upload_pack" in
-		'') git-clone-pack $quiet "$repo" ;;
-		*) git-clone-pack $quiet "$upload_pack" "$repo" ;;
+		'') git-clone-pack $quiet --keep "$repo" ;;
+		*) git-clone-pack $quiet --keep "$upload_pack" "$repo" ;;
 		esac
 		;;
 	esac
---
0.99.8.GIT
Next: Junio C Hamano
Message 1 of 5 in “git-clone: don't unpack objects”
  1. git-clone: don't unpack objectsTimo Hirvonen, Oct 19, 2005
  2. Junio C HamanoOct 19, 2005
  3. Johannes SchindelinOct 19, 2005
  4. Linus TorvaldsOct 19, 2005
  5. Junio C HamanoOct 19, 2005

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.