commit_lock_file(): use a strbuf to manage temporary space
commit3e88e8fc085bbfad142d51a07ef918b9b5ca1d72
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:31 +0000 (1 12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:49:01 +0000 (1 13:49 -0700)
tree0653d33f0f8dad03a06a8ac5a87480f7758874d6
parentdaccee387a7f3e4ca332649d5311b032a71892e2
commit_lock_file(): use a strbuf to manage temporary space

Avoid relying on the filename length restrictions that are currently
checked by lock_file().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.c