summaryrefslogtreecommitdiff
path: root/builtin-http-fetch.c
diff options
context:
space:
mode:
authorKjetil Barvik <barvik@broadpark.no>2009-01-11 19:36:42 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-11 15:56:55 -0800
commitff7e6aad6d995a52e88cfeaae10cf8a768ff2358 (patch)
tree7b214329753e3481aa2b23e801b62fd117bbf9ef /builtin-http-fetch.c
parent9002ec3ae6299dc7872033ba7f6c3cebf2f2c3c1 (diff)
downloadgit-ff7e6aad6d995a52e88cfeaae10cf8a768ff2358.tar.gz
Cleanup of unused symcache variable inside diff-lib.c
Commit c40641b77b0274186fd1b327d5dc3246f814aaaf, 'Optimize symlink/directory detection' by Linus Torvalds, removed the 'char *symcache' parameter to the has_symlink_leading_path() function. This made all variables currently named 'symcache' inside diff-lib.c unnecessary. This also let us throw away the 'struct oneway_unpack_data', and instead directly use the 'struct rev_info *revs' member, which was the only member left after removal of the 'symcache[] array' member. The 'struct oneway_unpack_data' was introduced by the following commit: 948dd346 "diff-files: careful when inspecting work tree items" Impact: cleanup PATH_MAX bytes less memory stack usage in some cases Signed-off-by: Kjetil Barvik <barvik@broadpark.no> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-http-fetch.c')
0 files changed, 0 insertions, 0 deletions