diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-10-01 12:28:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-01 13:51:29 -0700 |
commit | 6cad805332e3c3a60993f062afd8d896920689ab (patch) | |
tree | 6ce64d8fabd35b3b496915c020506163f702b9ab /read-cache.c | |
parent | 5025d8450a4c8bf9d22a202433072bee780b9b72 (diff) | |
download | git-6cad805332e3c3a60993f062afd8d896920689ab.tar.gz |
resolve_symlink(): take a strbuf parameter
Change resolve_symlink() to take a strbuf rather than a string as
parameter. This simplifies the code and removes an arbitrary pathname
length restriction. It also means that lock_file's filename field no
longer needs to be initialized to a large size.
Helped-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions