git --version tells which version of git you have.

Originally from Martin Atukunda <matlads@dsmagic.com> but adjusted for
post-rename code.

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