Re: Starting to think about sha-256?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Monday, August 28, 2006 - 4:09 pm

Hi,

On Mon, 28 Aug 2006, Linus Torvalds wrote:


The only notable exception I can think of: "git fetch -k". If you then try 
to retrieve the bogus object, it will return the one of whichever pack was 
returned first be readdir(). (If I read the source correctly.)

Now, the cases are rare where you do both "git fetch -k" and "git repack 
-a -d" (the latter of which _could_ leave a hole in the directory which 
_could_ make the next fetched pack fill that hole, which in turn _could_ 
make readdir() return that pack before more "senior" packs) in the same 
repository, but in these cases, yes, you could end up with the copy of the 
remote side.

You'd need to explicitely use "git fetch -k", though.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Starting to think about sha-256?, Jeff Garzik, (Sun Aug 27, 10:56 am)
Re: Starting to think about sha-256?, Krzysztof Halasa, (Sun Aug 27, 1:30 pm)
Re: Starting to think about sha-256?, Linus Torvalds, (Sun Aug 27, 1:46 pm)
Re: Starting to think about sha-256?, Krzysztof Halasa, (Sun Aug 27, 2:14 pm)
Re: Starting to think about sha-256?, Johannes Schindelin, (Sun Aug 27, 3:02 pm)
Re: Starting to think about sha-256?, Linus Torvalds, (Sun Aug 27, 3:35 pm)
Re: Starting to think about sha-256?, David Lang, (Mon Aug 28, 10:27 am)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 10:56 am)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 11:06 am)
Re: Starting to think about sha-256?, Jeff King, (Mon Aug 28, 11:32 am)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 11:46 am)
Re: Starting to think about sha-256?, Jeff King, (Mon Aug 28, 12:00 pm)
Re: Starting to think about sha-256?, Krzysztof Halasa, (Mon Aug 28, 1:12 pm)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 1:20 pm)
Re: Starting to think about sha-256?, Krzysztof Halasa, (Mon Aug 28, 2:12 pm)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 2:23 pm)
Re: Starting to think about sha-256?, Johannes Schindelin, (Mon Aug 28, 4:09 pm)
Re: Starting to think about sha-256?, Linus Torvalds, (Mon Aug 28, 4:48 pm)
Re: Starting to think about sha-256?, Florian Weimer, (Mon Aug 28, 11:17 pm)