Re: Is cogito really this inefficient
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 19, 2005, 23:54 UTC
- Message-ID
- <20050719235452.GE2255@pasky.ji.cz>
- In-Reply-To
- <Pine.LNX.4.58.0507140813150.19183@g5.osdl.org>
Dear diary, on Thu, Jul 14, 2005 at 05:26:07PM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> told me that...
Show 5 quoted lines
> It's quite possible that some path in cg-update ends up not updating the > index properly. For example, I notice that the "fast-forward" uses > "git-checkout-cache -f -a", which can do so (lack of "-u" fila), but then > it does do a "git-update-cache --refresh" later, so that doesn't seem to > be it either.
Just a side note for casual readers, Cogito could use a cleanup here - from large part it ignores things like git-checkout-cache -u simply because there was no such option at the time that part of Cogito was written. I myself am not even too familiar about those gazillions of funny new options, and as long as it works, I prefer not to touch that code, but if someone is bored and wants to get familiar with core git usage as well as Cogito internals...
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox