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