Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-02Prepare 5.1.16-SNAPSHOT buildsstable-5.1Matthias Sohn2-19/+19
Change-Id: I50e59e1e73a92fa4fe366398fb8141f5e2e289c1 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-12-02JGit v5.1.15.202012011955-rv5.1.15.202012011955-rMatthias Sohn2-2/+2
Change-Id: Icb4f04a40ab366cbacbb3fdf0db1748f27277fda Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-11-26Prepare 5.1.15-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I70246b66c76e865aef4e3adada3a507750ca7c63 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-11-26JGit v5.1.14.202011251942-rv5.1.14.202011251942-rMatthias Sohn2-2/+2
Change-Id: Ibe124988be39feaa029c3770777126dd87b18abc Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-02-11Prepare 5.1.14-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: Ic7d6f1a6c3123af1a1fa782f052b0cea3b6f28c6 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-02-11JGit v5.1.13.202002110435-rv5.1.13.202002110435-rMatthias Sohn2-2/+2
Change-Id: Iedc8699ad1a24efe7ddb47ae919c75b9d36141d4 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-10-01Prepare 5.1.13-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: Ic1dca14924f49ad07eb5cd0570ce7ece9f319d0d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-10-01JGit v5.1.12.201910011832-rv5.1.12.201910011832-rMatthias Sohn2-2/+2
Change-Id: I69fef9b2cdc18bbf1c8b9b290fb3d190684be13c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-09-08Format BUILD files with buildifierDavid Pursehouse1-1/+1
Using buildifier from master branch and the command: $ buildifier -r -lint fix -warnings all . Change-Id: I19c8ff183081093cb73bed7221a78a91b6cba4dc Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2019-09-07Bazel: Add fixes for --incompatible_load_java_rules_from_bzlDavid Pursehouse1-0/+1
Change-Id: I24746335db132bf20f400cb3db400737596d4542 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2019-09-03Prepare 5.1.12-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I353ac3f23024063722abc7340bc9a6df3c615741 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-09-03JGit v5.1.11.201909031202-rv5.1.11.201909031202-rMatthias Sohn2-2/+2
Change-Id: I288acf670160b9bcd2d04f572a902b5838b4d4f8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-23Prepare 5.1.11-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I8608580424d0e523dcace63f83ae530ba78dbb15 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-23JGit v5.1.10.201908230655-rv5.1.10.201908230655-rMatthias Sohn2-2/+2
Change-Id: I68d15ebd6054bdeaf62e14cddb87724828db7943 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-21Prepare 5.1.10-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: If10afc8e663299a15db8c5fd0574fb51bf7e7ae9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-21JGit v5.1.9.201908210455-rv5.1.9.201908210455-rMatthias Sohn2-2/+2
Change-Id: Iaade207292acb8b27e01aca7e1af97ad7db1e854 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-10Ensure LocalDiskRepositoryTestCase#setup fully uses MockSystemReaderMatthias Sohn1-16/+29
FS#getFileStoreAttributes used the real userConfig and not the mocked one. This led to test errors when running tests with Bazel since it sandboxes tests which prevents they can write to ~/.gitconfig. Fix this by first preparing the MockedSystemReader and the mocked config before calling FS#getFileStoreAttributes. Also fix ConfigTest which broke due to this change since it inherits from LocalDiskRepositoryTestCase and calls its setup method which was changed here. We can no longer assert by comparing plain text since FS adds FileStoreAttributes to the mocked userConfig. Also the default options seen by this test changed since we now use a mocked config. Change-Id: I76bc7c94953fe979266147d3b309a68dda9d4dfe Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-06-19Deprecate Constants.CHARACTER_ENCODING in favor of StandardCharsets.UTF_8David Pursehouse1-2/+2
Change-Id: I621ba174235a6fb56236e54d24bce704bb5afb28 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2019-06-05Prepare 5.1.9-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I60571e4e0bea04bb2c25ef3d0332a9ab6895db06 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-06-05JGit v5.1.8.201906050907-rv5.1.8.201906050907-rMatthias Sohn2-2/+2
Change-Id: Iae0ffe161df2ca8a800d21688d6b7d7419dfb640 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-05-29Tune max heap size for testsMatthias Sohn2-2/+2
This is an attempt to fix crashes observed on the new Jenkins infrastructure running on Kubernetes [1]. Increase it to 512m for - org.eclipse.jgit.ant.test - org.eclipse.jgit.http.test - org.eclipse.jgit.lfs.server.test - org.eclipse.jgit.lfs.test - org.eclipse.jgit.pgm.test Decrease it to 768m for - org.eclipse.jgit.test [1] e.g. https://ci-staging.eclipse.org/jgit/job/stable/job/jgit.gerrit/16074/console Change-Id: Id074ed0f7bcb8a13da649a547342af2a08439d9f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> (cherry picked from commit e19e859977525c2a39aaa928dfdef20e5fab7e3c)
2019-04-20Prepare 5.1.8-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I331bbaefd42ef94673ae8565c9b2b3af9eadfda0 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-04-20JGit v5.1.7.201904200442-rv5.1.7.201904200442-rMatthias Sohn2-2/+2
Change-Id: Ifaa3a88c5e117912a8c691b8b8369dd9a17faebb Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-03-13Prepare 5.1.7-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: Ica716b2ad18f8390e75466430ef81c86ea06f004 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-03-13JGit v5.1.6.201903130242-rv5.1.6.201903130242-rMatthias Sohn2-2/+2
Change-Id: Iaf5e451f72dc8512afee99a9f3fb91aa348e3cf5 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-12-27Prepare 5.1.6-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: If3313d602aa57cfa031ba2c9ec03bd51b464dc19 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-12-27JGit v5.1.5.201812261915-rv5.1.5.201812261915-rMatthias Sohn2-2/+2
Change-Id: I249a440d1ca1c997343da942ae55fcb27a645b92 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-12-25Prepare 5.1.5-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I3eeb24b01a4f955e7e933238defb42635ebfec7d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-12-25JGit v5.1.4.201812251853-rv5.1.4.201812251853-rMatthias Sohn2-2/+2
Change-Id: I30ba167bcd8144074553d7446a45fa6be19584fe Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-10-20Prepare 5.1.4-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: Iee86860f3b4eb9f4af818c60342fd29465c0474c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-10-20JGit v5.1.3.201810200350-rv5.1.3.201810200350-rMatthias Sohn2-2/+2
Change-Id: Ib2c5a79d4fdf77680b7b65652fc3659527df27ad Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-10-06Prepare 5.1.3-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I75c1a01885115fc709ab37f181234264c3f7423a Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-10-06JGit v5.1.2.201810061102-rv5.1.2.201810061102-rMatthias Sohn2-2/+2
Change-Id: Id34e4ae12a796460862edc37c5eb072314199bf4 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-18Prepare 5.1.2-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I095d246e27de747a234bc058725454c222be51ce Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-18JGit v5.1.1.201809181055-rv5.1.1.201809181055-rMatthias Sohn2-2/+2
Change-Id: I2366444fca125139eadb6d513be721167a266d70 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-11Prepare 5.1.1-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: Ie220dd95fae18f894e2a04a5ae6d29a1e5a6d76b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-11JGit v5.1.0.201809111528-rv5.1.0.201809111528-rMatthias Sohn2-2/+2
Change-Id: I583bf7d60bccc876156be1f605bfda32b89cd08b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-05Prepare 5.1.0-SNAPSHOT buildsMatthias Sohn2-2/+2
Change-Id: I3d06c5237edae54b09f465f415f5a308b5e7ceff Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-05JGit v5.1.0.201809051400-rc1v5.1.0.201809051400-rc1Matthias Sohn2-2/+2
Change-Id: I0b53f95ee51d94da8b029c9bb10eb854ff9dd4f6 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-04Deprecate Constants.CHARSET in favor of StandardCharsets.UTF_8David Pursehouse1-3/+3
Change-Id: I3b748620f067582afef20f144feebe40d0332be2 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-08-27Add ls-files CLI commandMatthias Sohn1-0/+96
Implement the basic functionality and support the option --help (-h). Change-Id: Ibcdf0c958d0f93b7415d4e591b1455ccba5d95f7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-08-23refactor: simplify collection.toArray()Michael Keppler2-7/+7
On recent VMs, collection.toArray(new T[0]) is faster than collection.toArray(new T[collection.size()]). Since it is also more readable, it should now be the preferred way of collection to array conversion. https://shipilev.net/blog/2016/arrays-wisdom-ancients/ Change-Id: I80388532fb4b2b0663ee1fe8baa94f5df55c8442 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-05-23Prepare 5.1.0-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I8523a993ae1f7b62573d7547273bc1356bf64fa7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-22Repository: Deprecate getTags methodDavid Pursehouse1-7/+4
Callers should use getRefDatabase().getRefsByPrefix(R_TAGS) instead. Adjust the tests accordingly. Bug: 534731 Change-Id: Ib28ae365e42720268996ff46e34cae1745ad545c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-05-18Remove further unnecessary 'final' keywordsHan-Wen Nienhuys1-1/+1
Remove it from * package private functions. * try blocks * for loops this was done with the following python script: $ cat f.py import sys import re import os def replaceFinal(m): return m.group(1) + "(" + m.group(2).replace('final ', '') + ")" methodDecl = re.compile(r"^([\t ]*[a-zA-Z_ ]+)\(([^)]*)\)") def subst(fn): input = open(fn) os.rename(fn, fn + "~") dest = open(fn, 'w') for l in input: l = methodDecl.sub(replaceFinal, l) dest.write(l) dest.close() for root, dirs, files in os.walk(".", topdown=False): for f in files: if not f.endswith('.java'): continue full = os.path.join(root, f) print full subst(full) Change-Id: If533a75a417594fc893e7c669d2c1f0f6caeb7ca Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
2018-05-15Remove 'final' in parameter listsHan-Wen Nienhuys2-4/+4
Change-Id: Id924f79c8b2c720297ebc49bf9c5d4ddd6d52547 Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
2018-04-11Use Constants.CHARACTER_ENCODING in testsDavid Pursehouse1-1/+2
Change-Id: Iba9fc991aee54fcb8b0dc5e5841da24c2d54dfc2 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-13Implement --force option in FetchCommand and CLI fetch commandMatthias Sohn1-0/+13
Change-Id: I42cdb57b8fb54ce466d1958391f12f911045327f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-11Consistently use Constants.CHARSET rather than StandardCharsets.UTF_8David Pursehouse1-3/+3
Change-Id: I6714fc3666e1bced22abba94ceb700477349586e Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2018-03-08Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn2-19/+19
Change-Id: I2d2f50ed8a12f310e7cac68eed5536bd460c403f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>

Back to the top