Files
git/builtin
Michael Haggerty cf6950d3bf lockfile: change lock_file::filename into a strbuf
For now, we still make sure to allocate at least PATH_MAX characters
for the strbuf because resolve_symlink() doesn't know how to expand
the space for its return value.  (That will be fixed in a moment.)

Another alternative would be to just use a strbuf as scratch space in
lock_file() but then store a pointer to the naked string in struct
lock_file.  But lock_file objects are often reused.  By reusing the
same strbuf, we can avoid having to reallocate the string most times
when a lock_file object is reused.

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>
2014-10-01 13:50:01 -07:00
..
2014-07-16 11:10:11 -07:00
2014-09-19 11:38:32 -07:00
2014-09-11 10:33:32 -07:00
2014-09-09 12:54:06 -07:00
2014-09-19 11:38:35 -07:00
2014-01-17 12:21:20 -08:00
2014-07-09 11:34:05 -07:00
2014-09-26 14:39:45 -07:00
2014-09-26 14:39:43 -07:00
2014-09-26 14:39:45 -07:00
2014-09-02 13:28:44 -07:00
2014-09-26 14:39:45 -07:00
2014-09-02 12:00:30 -07:00
2014-08-13 09:50:58 -07:00
2014-09-19 11:38:35 -07:00
2014-09-11 10:33:31 -07:00
2014-04-30 10:30:02 -07:00
2014-07-16 11:25:40 -07:00
2014-09-02 12:00:30 -07:00
2014-09-11 10:33:31 -07:00