Marius Storm-Olsen schrieb:
Johannes Sixt said the following on 04.09.2007 12:53:
Marius Storm-Olsen schrieb:
Johannes Sixt said the following on 04.09.2007 09:41:
http://repo.or.cz/w/git/mingw/4msysgit.git?a=commitdiff;h=f15974add93bdfa92775c77c00e7c65aefd42127
Looks good, although you should now handle INVALID_HANDLE_VALUE at the
beginning of git_fstat() like this:
Actually, that's already handled.
It's not a big deal: It's an unlikely code path, actually an indication of a
coding error, so you can leave your version.
Ok, I just tested FileTimeToLocalFileTime() in a tight loop, and I can
run it 100,000,000 times per second. So I'm confident that there won't
be any noticable degradation with my proposed change.
Ok. I haven't done the performance test with Git yet, but we'll see. If
it's not noticeable, I'll add it to all the timestamps we have.
Ack.
-- Hannes
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html