git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-unpack-objects < pack file in repository doesn't work!
@ 2006-03-07  1:13 Blaisorblade
  2006-03-07  2:29 ` Shawn Pearce
  0 siblings, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2006-03-07  1:13 UTC (permalink / raw)
  To: git

It's not a bug, it's an undocumented feature. It should be documented as 
"git-unpack-objects < $pack; rm $pack" is something one would deem correct at 
first glance (luckily I just moved the pack away and did git-fsck-cache).

To write an object, git-unpack-objects ends in

unpack-objects.c:write_object -> sha1_file.c:write_sha1_file:

        /* Normally if we have it in the pack then we do not bother writing
         * it out into .git/objects/??/?{38} file.
         */

This indeed works, so the files aren't unpacked.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-09 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-07  1:13 git-unpack-objects < pack file in repository doesn't work! Blaisorblade
2006-03-07  2:29 ` Shawn Pearce
2006-03-07  3:09   ` Junio C Hamano
2006-03-07  4:02     ` Shawn Pearce
2006-03-09 10:14       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).