[PATCH] -Werror fixes

GCC's format __attribute__ is good for checking errors, especially
with -Wformat=2 parameter. This fixes most of the reported problems
against 2005-08-09 snapshot.
9 files changed
tree: d4645413f012a970eb7744004fe829aa2786a067
  1. debian/
  2. Documentation/
  3. mozilla-sha1/
  4. ppc/
  5. t/
  6. templates/
  7. tools/
  8. apply.c
  9. blob.c
  10. blob.h
  11. build-rev-cache.c
  12. cache.h
  13. cat-file.c
  14. checkout-cache.c
  15. clone-pack.c
  16. commit-tree.c
  17. commit.c
  18. commit.h
  19. connect.c
  20. convert-cache.c
  21. COPYING
  22. count-delta.c
  23. count-delta.h
  24. csum-file.c
  25. csum-file.h
  26. daemon.c
  27. date.c
  28. delta.h
  29. diff-cache.c
  30. diff-delta.c
  31. diff-files.c
  32. diff-helper.c
  33. diff-stages.c
  34. diff-tree.c
  35. diff.c
  36. diff.h
  37. diffcore-break.c
  38. diffcore-order.c
  39. diffcore-pathspec.c
  40. diffcore-pickaxe.c
  41. diffcore-rename.c
  42. diffcore.h
  43. entry.c
  44. epoch.c
  45. epoch.h
  46. export.c
  47. fetch-pack.c
  48. fsck-cache.c
  49. get-tar-commit-id.c
  50. git
  51. git-add-script
  52. git-apply-patch-script
  53. git-bisect-script
  54. git-branch-script
  55. git-checkout-script
  56. git-cherry
  57. git-clone-dumb-http
  58. git-clone-script
  59. git-commit-script
  60. git-core.spec.in
  61. git-count-objects-script
  62. git-cvsimport-script
  63. git-diff-script
  64. git-external-diff-script
  65. git-fetch-script
  66. git-format-patch-script
  67. git-log-script
  68. git-ls-remote-script
  69. git-merge-one-file-script
  70. git-parse-remote
  71. git-prune-script
  72. git-pull-script
  73. git-push-script
  74. git-rebase-script
  75. git-relink-script
  76. git-rename-script
  77. git-repack-script
  78. git-request-pull-script
  79. git-reset-script
  80. git-resolve-script
  81. git-send-email-script
  82. git-sh-setup-script
  83. git-shortlog
  84. git-status-script
  85. git-tag-script
  86. git-verify-tag-script
  87. git-whatchanged
  88. gitenv.c
  89. gitk
  90. hash-object.c
  91. http-pull.c
  92. ident.c
  93. index.c
  94. init-db.c
  95. INSTALL
  96. local-pull.c
  97. ls-files.c
  98. ls-tree.c
  99. Makefile
  100. merge-base.c
  101. merge-cache.c
  102. mktag.c
  103. object.c
  104. object.h
  105. pack-check.c
  106. pack-objects.c
  107. pack.h
  108. patch-delta.c
  109. patch-id.c
  110. path.c
  111. peek-remote.c
  112. pkt-line.c
  113. pkt-line.h
  114. prune-packed.c
  115. pull.c
  116. pull.h
  117. quote.c
  118. quote.h
  119. read-cache.c
  120. read-tree.c
  121. README
  122. receive-pack.c
  123. refs.c
  124. refs.h
  125. rev-cache.c
  126. rev-cache.h
  127. rev-list.c
  128. rev-parse.c
  129. rev-tree.c
  130. rsh.c
  131. rsh.h
  132. run-command.c
  133. run-command.h
  134. send-pack.c
  135. server-info.c
  136. sha1_file.c
  137. sha1_name.c
  138. show-index.c
  139. show-rev-cache.c
  140. ssh-pull.c
  141. ssh-push.c
  142. strbuf.c
  143. strbuf.h
  144. stripspace.c
  145. tag.c
  146. tag.h
  147. tar-tree.c
  148. test-date.c
  149. test-delta.c
  150. tree.c
  151. tree.h
  152. unpack-file.c
  153. unpack-objects.c
  154. update-cache.c
  155. update-server-info.c
  156. upload-pack.c
  157. usage.c
  158. var.c
  159. verify-pack.c
  160. write-tree.c