fetch.c: do not call process_tree() from process_tree().

This function reads a freshly fetched tree object, and schedules
the objects pointed by it for further fetching, so doing
lookup_tree() and process_tree() recursively from there does not
make much sense.  We need to use process() on it to make sure we
fetch it first, and leave the recursive processing to later
stages.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 file changed
tree: ae5e031f9edb42d007a0977c20fafdbcb41e98d0
  1. arm/
  2. compat/
  3. contrib/
  4. Documentation/
  5. mozilla-sha1/
  6. ppc/
  7. t/
  8. templates/
  9. xdiff/
  10. .gitignore
  11. base85.c
  12. blame.c
  13. blob.c
  14. blob.h
  15. builtin-add.c
  16. builtin-apply.c
  17. builtin-cat-file.c
  18. builtin-check-ref-format.c
  19. builtin-commit-tree.c
  20. builtin-count.c
  21. builtin-diff-files.c
  22. builtin-diff-index.c
  23. builtin-diff-stages.c
  24. builtin-diff-tree.c
  25. builtin-diff.c
  26. builtin-grep.c
  27. builtin-help.c
  28. builtin-init-db.c
  29. builtin-log.c
  30. builtin-ls-files.c
  31. builtin-ls-tree.c
  32. builtin-push.c
  33. builtin-read-tree.c
  34. builtin-rev-list.c
  35. builtin-rm.c
  36. builtin-show-branch.c
  37. builtin-tar-tree.c
  38. builtin-upload-tar.c
  39. builtin.h
  40. cache-tree.c
  41. cache-tree.h
  42. cache.h
  43. checkout-index.c
  44. clone-pack.c
  45. combine-diff.c
  46. commit.c
  47. commit.h
  48. config.c
  49. connect.c
  50. convert-objects.c
  51. copy.c
  52. COPYING
  53. csum-file.c
  54. csum-file.h
  55. ctype.c
  56. daemon.c
  57. date.c
  58. delta.h
  59. describe.c
  60. diff-delta.c
  61. diff-lib.c
  62. diff.c
  63. diff.h
  64. diffcore-break.c
  65. diffcore-delta.c
  66. diffcore-order.c
  67. diffcore-pickaxe.c
  68. diffcore-rename.c
  69. diffcore.h
  70. dir.c
  71. dir.h
  72. dump-cache-tree.c
  73. entry.c
  74. environment.c
  75. exec_cmd.c
  76. exec_cmd.h
  77. fetch-clone.c
  78. fetch-pack.c
  79. fetch.c
  80. fetch.h
  81. fsck-objects.c
  82. generate-cmdlist.sh
  83. get-tar-commit-id.c
  84. git-am.sh
  85. git-annotate.perl
  86. git-applymbox.sh
  87. git-applypatch.sh
  88. git-archimport.perl
  89. git-bisect.sh
  90. git-branch.sh
  91. git-checkout.sh
  92. git-cherry.sh
  93. git-clean.sh
  94. git-clone.sh
  95. git-commit.sh
  96. git-compat-util.h
  97. git-cvsexportcommit.perl
  98. git-cvsimport.perl
  99. git-cvsserver.perl
  100. git-fetch.sh
  101. git-fmt-merge-msg.perl
  102. git-lost-found.sh
  103. git-ls-remote.sh
  104. git-merge-octopus.sh
  105. git-merge-one-file.sh
  106. git-merge-ours.sh
  107. git-merge-recursive.py
  108. git-merge-resolve.sh
  109. git-merge-stupid.sh
  110. git-merge.sh
  111. git-mv.perl
  112. git-parse-remote.sh
  113. git-prune.sh
  114. git-pull.sh
  115. git-push.sh
  116. git-quiltimport.sh
  117. git-rebase.sh
  118. git-relink.perl
  119. git-repack.sh
  120. git-request-pull.sh
  121. git-rerere.perl
  122. git-reset.sh
  123. git-resolve.sh
  124. git-revert.sh
  125. git-send-email.perl
  126. git-sh-setup.sh
  127. git-shortlog.perl
  128. git-svnimport.perl
  129. git-tag.sh
  130. git-verify-tag.sh
  131. GIT-VERSION-GEN
  132. git.c
  133. git.spec.in
  134. gitk
  135. gitMergeCommon.py
  136. hash-object.c
  137. http-fetch.c
  138. http-push.c
  139. http.c
  140. http.h
  141. ident.c
  142. imap-send.c
  143. index-pack.c
  144. index.c
  145. INSTALL
  146. local-fetch.c
  147. log-tree.c
  148. log-tree.h
  149. mailinfo.c
  150. mailsplit.c
  151. Makefile
  152. merge-base.c
  153. merge-index.c
  154. merge-tree.c
  155. mktag.c
  156. mktree.c
  157. name-rev.c
  158. object.c
  159. object.h
  160. pack-check.c
  161. pack-objects.c
  162. pack-redundant.c
  163. pack.h
  164. pager.c
  165. patch-delta.c
  166. patch-id.c
  167. path.c
  168. peek-remote.c
  169. pkt-line.c
  170. pkt-line.h
  171. prune-packed.c
  172. quote.c
  173. quote.h
  174. read-cache.c
  175. README
  176. receive-pack.c
  177. refs.c
  178. refs.h
  179. repo-config.c
  180. rev-parse.c
  181. revision.c
  182. revision.h
  183. rsh.c
  184. rsh.h
  185. run-command.c
  186. run-command.h
  187. send-pack.c
  188. server-info.c
  189. setup.c
  190. sha1_file.c
  191. sha1_name.c
  192. shell.c
  193. show-index.c
  194. ssh-fetch.c
  195. ssh-pull.c
  196. ssh-push.c
  197. ssh-upload.c
  198. strbuf.c
  199. strbuf.h
  200. stripspace.c
  201. symbolic-ref.c
  202. tag.c
  203. tag.h
  204. tar.h
  205. test-date.c
  206. test-delta.c
  207. tree-diff.c
  208. tree-walk.c
  209. tree-walk.h
  210. tree.c
  211. tree.h
  212. unpack-file.c
  213. unpack-objects.c
  214. update-index.c
  215. update-ref.c
  216. update-server-info.c
  217. upload-pack.c
  218. usage.c
  219. var.c
  220. verify-pack.c
  221. write-tree.c
  222. xdiff-interface.c
  223. xdiff-interface.h