Browse Source
Even the one lockfile object needn't be allocated each time the function is called. Instead, define one statically-allocated lock_file object and reuse it for every call. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Michael Haggerty
10 years ago
committed by
Junio C Hamano
1 changed files with 7 additions and 7 deletions
Loading…
Reference in new issue