On Thu, 29 Sep 2005, Johannes Schindelin wrote:No. This is WRONG. It may seem like a sane thing to do, but it is very very horribly broken. The fact is, if an earlier fetch was interrupted, or if you've used things like rsync, you may have disconnected objects in your object store. The fact that you have a particular commit object is _not_ a guarantee that you have everything that leads up to it. The "fetch" semantics are simple: we only write out new refs _after_ we've fetched all the objects that point to them. That means that while we cannot trust a "oh, I already have this commit, let's skip it", we _can_ trust "oh, I already have these refs, let's skip them". So please do _not_ add logic like this to git-fetch. I'd _much_ rather fetch some objects twice than end up with a corrupt repository. Linus - 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
| Mikulas Patocka | LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers) |
| Daniel J Blueman | time for TCP ECN defaulting to on? |
| Renato S. Yamane | Error -71 on device descriptor read/all |
| Zdenek Kabelac | Suspend to memory is freezing my machine |
git: | |
| Abdelrazak Younes | Git-windows and git-svn? |
| Giuseppe Bilotta | Re: gitweb and remote branches |
| Petr Baudis | repo.or.cz wishes? |
| Josh England | Re: cloning/pulling hooks |
| Reyk Floeter | Re: Real men don't attack straw men |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Jernej Makovsek | How secure is OpenBSD really |
| Girish Venkatachalam | Ethernet jumbo frames? |
| Kim Phillips | [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing) |
| Michael Grollman | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
| Gerrit Renker | [PATCH 5/5] dccp: Tidy up setsockopt calls |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
