Make git-mv a builtin

This also moves add_file_to_index() to read-cache.c. Oh, and while
touching builtin-add.c, it also removes a duplicate git_config() call.

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