Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-08Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn56-356/+356
Change-Id: I2d2f50ed8a12f310e7cac68eed5536bd460c403f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08Merge branch 'stable-4.11'Matthias Sohn56-357/+357
* stable-4.11: Prepare 4.11.1-SNAPSHOT builds JGit v4.11.0.201803080745-r Change-Id: I225b9a6a9be6bda1d6fc8f605917645ff1fec852
2018-03-08Prepare 4.11.1-SNAPSHOT buildsMatthias Sohn56-357/+357
Change-Id: Id9aa6b7e8f56de5183b6cd57ef0e790ec9debd4d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08JGit v4.11.0.201803080745-rv4.11.0.201803080745-rMatthias Sohn56-59/+59
Change-Id: Ie24a33bc8a24c30db06fe7b175f405efb95776ec Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-07Remove useless for(;;) loopThomas Wolf1-19/+17
Change-Id: Ic9a7824cc178e92f44126acc8e77b0304b20ef4f Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-03-07Fix DiffFormatter for diffs against working tree with autocrlf=trueThomas Wolf3-3/+102
The WorkingTreeSource produced an ObjectLoader that returned inconsistent sizes: the file size in getSize(), but then a correctly filtered smaller stream in openStream(). This resulted either in an IOE "short read of block" or in an EOFException depending on the resulting filtered size. Fix this by ensuring that getSize() does return the size of the filtered stream. Bug: 530106 Change-Id: I7c7c85036047dc10030ed29c1d5a6c7f34f2bdff Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-03-07Merge branch 'stable-4.10'Matthias Sohn2-9/+18
* stable-4.10: Don't subclass ThreadLocal to avoid memory leak in NLS Set context classloader to null in WorkQueue Change-Id: Idacf9a15a27f8e1d73357a80ed11a02237eea49e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-07LFS: Adjust some API to make integration into tools (EGit,...) easierMarkus Duft3-4/+45
Make the install command accessible without requiring reflection. Expose the isEnabled(Repository) API to be able to check if calling the install command is required for a repository. Change-Id: I17e6eaefb6afda17fea8162cbf0cb86a20506753 Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-07MergeHeadMsgTest: Open FileOutputStream in try-with-resourceDavid Pursehouse1-15/+7
Change-Id: I8efa549b98bf661665dc29d48d0e5661b0e8530c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07MergeCommand: Open RevWalk in try-with-resourceDavid Pursehouse1-6/+1
Change-Id: I45ce481cc198b8dc78e9c46b433504840597e982 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07MeasurePackSizeTest: Open Transport in try-with-resourceDavid Pursehouse1-5/+1
Change-Id: If9a39f8eabe1cd3474bdc025ac92218cd2dd1640 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07LongObjectIdTest: Open OutputStreamWriter in try-with-resourceDavid Pursehouse1-7/+9
Change-Id: Ic7c2109204f94c70b933191b46d4a8f2c16a1533 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07JschConfigSessionFactory: Open FileInputStream in try-with-resourceDavid Pursehouse1-7/+2
Change-Id: I0f8f4629c93ed747f2f604538fccc52da3974b2e Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07CommandCatalog: Use StandardCharsets.UTF_8David Pursehouse1-1/+3
Change-Id: I7c3356335cfedd81f663fd528799fc57b95fcf0f Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07JGitTestUtil: Open auto-closeable resources in try-with-resourceDavid Pursehouse1-16/+7
Change-Id: Ibc8dd8509109708628e5189888fa528add486452 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-07Use StandardCharsets.UTF_8 in testsDavid Pursehouse9-12/+19
Replace hard-coded "UTF-8" string with the constant. Change-Id: Ie812add2df28e984090563ec7c6e2c0366616424 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06InfoRefsServlet: Open OutputStreamWriter in try-with-resourceDavid Pursehouse1-21/+22
Change-Id: Iaf93d5c020ee67e9effbe93334f1ad419ffaee1f Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06IndexDiffWithSymlinkTest: Open InputStream in try-with-resourceDavid Pursehouse1-6/+4
Change-Id: I5f49f80debb2259f665748408cd3604f869fa3ef Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06HugeFileTest: Open RandomAccessFile in try-with-resourceDavid Pursehouse1-23/+23
Change-Id: Iecb9a7348b40c91fa45c051c2a9c4eb47e4bdeca Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06HookMessageTest: Open Transport in try-with-resourceDavid Pursehouse1-10/+2
Change-Id: Ie58b01a8a78e4f42a3b913708a545687c5c9f96b Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06GitSmartHttpTools: Open OutputStream in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: Ifb50b923f58f73d323cc1492950e58b6dc39f376 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06GitServletResponseTests: Open Transport in try-with-resourceDavid Pursehouse1-15/+3
Change-Id: Ib74752c9185e38d0bfe9b4cef93b2427bf3afbd0 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06GetTextTest: Open InputStream in try-with-resourceDavid Pursehouse1-16/+10
Change-Id: I3b68686de2d852b1f0b19c267a4e527229b40316 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06GC: Open auto-closeable resources in try-with-resourceDavid Pursehouse1-21/+12
Change-Id: If437e14636de7c5014ee2aa419d6518acd857792 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FileSnapshotTest: Open FileOutputStream in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: I187dd61e3e7d6f141722bf1af86a7fe04711057d Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FileSender: Open OutputStream in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: I2278950998dffc2b5730a91a5bb3bcc38f4d446b Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FileRepository: Open FileInputStream in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: Ief8aa4834437d76f7e636598bf9861312475e64a Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FileLfsServlet: Open PrintWriter in try-with-resourceDavid Pursehouse1-4/+4
Change-Id: I6fa225e541c6d5c3dbf3d852a502f4e9c4f7d77e Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FetchProcess: Open OutputStreamWriter in try-with-resourceDavid Pursehouse1-4/+2
Change-Id: Ide7768882a95f9e9706e50ca0774edd428dd07c1 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06FS: Open TemporaryBuffer in try-with-resourceDavid Pursehouse1-6/+3
Change-Id: I52e048e491e838b7f762a5b5f4d148e91049877c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06EditListTest: Open InputStream in try-with-resourceDavid Pursehouse1-8/+5
Change-Id: Ib5b86e332ec674dec5460a9629d94d9f94c31c24 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06EGitPatchHistoryTest: Open BufferedReader in try-with-resourceDavid Pursehouse1-19/+19
Change-Id: I74aede463c7b0a478a1e0e8b680c206d3964061d Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06T0003_BasicTest: Use CommitBuilder.setEncoding(Charset)David Pursehouse1-1/+2
Change-Id: I1c4cdd4b856d715a204030d2de25ef91977186c2 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06WalkEncryptionTest: Use StandardCharsets.UTF_8David Pursehouse1-4/+1
Change-Id: I6eb8a33be62c452c264fb0560b988144d80a41f9 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06GetTextTest: Use StandardCharsets constants instead of CharSet.forNameDavid Pursehouse1-6/+8
Change-Id: I61d626495338a89c014187c38a1f6b49accf7af4 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06EGitPatchHistoryTest: Set input stream encoding with constantDavid Pursehouse1-1/+1
Change-Id: Ieff9b1d07704e37c8d5616b220b015855a7cc624 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DirCacheIterator: Open InputStream in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: I05d2d1de9a3d39466a6880f6e8107da8681876b1 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DumbClientSmartServerTest: Open auto-closeable resources in try-with-resourceDavid Pursehouse1-22/+7
Change-Id: I599c6e274fe80af7bfd2205f56f469c22d1dd3e0 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DirCacheCheckoutTest: Open FileInputStream in try-with-resourceDavid Pursehouse1-11/+13
Change-Id: I3ceef36803752a19a4d74910b4db26c01279fd99 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DiffFormatterReflowTest: Open InputStream in try-with-resourceDavid Pursehouse1-8/+5
Change-Id: Id7f420a2eac57e59fa3feb04236df6f5f8d07f02 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06Merge changes from topic 'try-with-resource'David Pursehouse5-27/+17
* changes: DiffCommand: Open DiffFormatter in try-with-resource DiffAlgorithms: Open Repository in try-with-resource DescribeCommandTest: Open FileWriter in try-with-resource CommitCommand: Open InputStream in try-with-resource DefaultNoteMerger: Open UnionInputStream in try-with-resource
2018-03-06DiffCommand: Open DiffFormatter in try-with-resourceDavid Pursehouse1-10/+9
Change-Id: I22bd1062d64b01bb98cdaf612482538114624b7f Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06Merge "Silence API error raised for new CONFIG_SECTION_LFS constant"David Pursehouse1-0/+6
2018-03-06DiffAlgorithms: Open Repository in try-with-resourceDavid Pursehouse1-4/+1
Change-Id: I67cb486283213f8aa964333533c55966518baa36 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DescribeCommandTest: Open FileWriter in try-with-resourceDavid Pursehouse1-3/+3
Change-Id: Ida79bdae652faa88fbdb1b81e7e10b5019ff2c16 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06CommitCommand: Open InputStream in try-with-resourceDavid Pursehouse1-5/+2
Change-Id: I800a2afae17f84636cae593be7f07628fb8476c1 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-06DefaultNoteMerger: Open UnionInputStream in try-with-resourceDavid Pursehouse1-5/+2
Change-Id: I035aa89cdbf235992f41e752f49d735be4e5df0a Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-05Silence API error raised for new CONFIG_SECTION_LFS constantMatthias Sohn1-0/+6
Change-Id: I27e68d245c6b9c972ab9470c14d1f45d15d4c253 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-05CommitCommandTest: Open Repository in try-with-resourceDavid Pursehouse1-6/+6
Change-Id: Id9961a120ef9f949f04fc95455fae06ba95d8031 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-05CommitAndLogCommandTest: Open PrintWriter in try-with-resourceDavid Pursehouse1-15/+15
Change-Id: I0c7f07e27d1881d8856dac008110fcaa85c98fbb Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>

Back to the top