You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Java Git
  2. ========
  3. This package is licensed under the EDL (Eclipse Distribution
  4. License).
  5. - org.eclipse.jgit/
  6. A pure Java library capable of being run standalone, with no
  7. additional support libraries. Some JUnit tests are provided
  8. to exercise the library. The library provides functions to
  9. read and write a Git formatted repository.
  10. All portions of jgit are covered by the EDL. Absolutely no GPL,
  11. LGPL or EPL contributions are accepted within this package.
  12. - org.eclipse.jgit.test/
  13. Unit tests for org.eclipse.jgit and the same licensing rules.
  14. Warnings/Caveats
  15. ----------------
  16. - Symbolic links are not supported because java does not support it.
  17. Such links could be damaged.
  18. - Only the timestamp of the index is used by jgit check if the index
  19. is dirty.
  20. - Don't try the library with a JDK other than 1.6 (Java 6) unless you
  21. are prepared to investigate problems yourself. JDK 1.5.0_11 and later
  22. Java 5 versions *may* work. Earlier versions do not. JDK 1.4 is *not*
  23. supported. Apple's Java 1.5.0_07 is reported to work acceptably. We
  24. have no information about other vendors. Please report your findings
  25. if you try.
  26. - CRLF conversion is performed depending on the core.autocrlf setting,
  27. however Git for Windows by default stores that setting during
  28. installation in the "system wide" configuration file. If Git is not
  29. installed, use the global or repository configuration for the
  30. core.autocrlf setting.
  31. - The system wide configuration file is located relative to where C
  32. Git is installed. Make sure Git can be found via the PATH
  33. environment variable. When installing Git for Windows check the "Run
  34. Git from the Windows Command Prompt" option. There are other options
  35. like the jgit.gitprefix system propety or Eclipse settings that can
  36. be used for pointing out where C Git is installed. Modifying PATH is
  37. the recommended option if C Git is installed.
  38. - We try to use the same notation of $HOME as C Git does. On Windows
  39. this is often not same value as the user.home system property.
  40. Package Features
  41. ----------------
  42. - org.eclipse.jgit/
  43. * Read loose and packed commits, trees, blobs, including
  44. deltafied objects.
  45. * Read objects from shared repositories
  46. * Write loose commits, trees, blobs.
  47. * Write blobs from local files or Java InputStreams.
  48. * Read blobs as Java InputStreams.
  49. * Copy trees to local directory, or local directory to a tree.
  50. * Lazily loads objects as necessary.
  51. * Read and write .git/config files.
  52. * Create a new repository.
  53. * Read and write refs, including walking through symrefs.
  54. * Read, update and write the Git index.
  55. * Checkout in dirty working directory if trivial.
  56. * Walk the history from a given set of commits looking for commits
  57. introducing changes in files under a specified path.
  58. * Object transport
  59. Fetch via ssh, git, http, Amazon S3 and bundles.
  60. Push via ssh, git and Amazon S3. JGit does not yet deltify
  61. the pushed packs so they may be a lot larger than C Git packs.
  62. - org.eclipse.jgit.pgm/
  63. * Assorted set of command line utilities. Mostly for ad-hoc testing of jgit
  64. log, glog, fetch etc.
  65. Missing Features
  66. ----------------
  67. There are a lot of missing features. You need the real Git for this.
  68. For some operations it may just be the preferred solution also. There
  69. are not just a command line, there is e.g. git-gui that makes committing
  70. partial files simple.
  71. - Merging.
  72. - Repacking.
  73. - Generate a GIT format patch.
  74. - Apply a GIT format patch.
  75. - Documentation. :-)
  76. - gitattributes support
  77. In particular CRLF conversion is not implemented. Files are treated
  78. as byte sequences.
  79. - submodule support
  80. Submodules are not supported or even recognized.
  81. Support
  82. -------
  83. Post question, comments or patches to the git@vger.kernel.org mailing list.
  84. Contributing
  85. ------------
  86. See SUBMITTING_PATCHES in this directory. However, feedback and bug reports
  87. are also contributions.
  88. About Git
  89. ---------
  90. More information about GIT, its repository format, and the canonical
  91. C based implementation can be obtained from the GIT websites:
  92. http://git.or.cz/
  93. http://www.kernel.org/pub/software/scm/git/
  94. http://www.kernel.org/pub/software/scm/git/docs/