Files
git/builtin
Jeff King fa96082617 diff-tree: avoid lookup_unknown_object
We generally want to avoid lookup_unknown_object, because it
results in allocating more memory for the object than may be
strictly necessary.

In this case, it is used to check whether we have an
already-parsed object before calling parse_object, to save
us from reading the object from disk. Using lookup_object
would be fine for that purpose, but we can take it a step
further. Since this code was written, parse_object already
learned the "check lookup_object" optimization, so we can
simply call parse_object directly.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-07-13 18:59:05 -07:00
..
2014-06-06 11:23:04 -07:00
2014-07-02 12:51:50 -07:00
2014-06-16 10:07:15 -07:00
2014-03-14 14:25:31 -07:00
2014-01-17 12:21:20 -08:00
2014-06-13 12:07:47 -07:00
2014-06-25 11:47:36 -07:00
2014-07-02 12:53:02 -07:00
2014-07-02 12:53:02 -07:00
2014-06-03 12:06:41 -07:00
2014-06-16 12:17:58 -07:00
2014-05-19 13:39:54 -07:00
2014-04-30 10:30:02 -07:00
2014-07-02 12:53:02 -07:00
2014-01-17 12:21:20 -08:00