commit | 15438d5a56acfd08545a11630821179334eb6979 | [log] [tgz] |
---|---|---|
author | Jared Hance <jaredhance@gmail.com> | Fri Mar 02 21:31:15 2012 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Mar 02 23:56:28 2012 -0800 |
tree | 8b9ae9765fb8415e6fc1182d6704647c52e4b038 | |
parent | 70eb130768d17c33b9efbf60d7953cf6a57daecb [diff] |
Add threaded versions of functions in symlinks.c. check_leading_path() and has_dirs_only_path() both always use the default cache, which could be a caveat for adding parallelism (which is a concern and even a GSoC proposal). Reimplement these two in terms of new threaded_check_leading_path() and threaded_has_dirs_only_path() that take their own copy of the cache. Signed-off-by: Jared Hance <jaredhance@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>