]> git.ipfire.org Git - thirdparty/git.git/commit - lockfile.c
resolve_symlink(): use a strbuf for internal scratch space
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:33 +0000 (12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:51:29 +0000 (13:51 -0700)
commit5025d8450a4c8bf9d22a202433072bee780b9b72
treec929d7b6dc017172c55b6c363aca236c42732c11
parentcf6950d3bfe1447ac04867b1f5654a2fc9c5db96
resolve_symlink(): use a strbuf for internal scratch space

Aside from shortening and simplifying the code, this removes another
place where the path name length is arbitrarily limited.

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