aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm.test
Commit message (Collapse)AuthorAgeFilesLines
* Prepare 7.3.0-SNAPSHOT buildsMatthias Sohn2025-03-042-21/+21
| | | | Change-Id: Id871f3084a8195fdfa2f7eab058515656bd2c9f9
* Prepare 7.2.1-SNAPSHOT buildsstable-7.2Matthias Sohn2025-03-042-21/+21
| | | | Change-Id: Iddc02bb3c2235b491d9b7034f29591b09d042e11
* JGit v7.2.0.202503040940-rv7.2.0.202503040940-rMatthias Sohn2025-03-042-2/+2
| | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I3d3f7fc6732b3204970a7be7886361920d8ec60e
* JGit v7.2.0.202503040805-rMatthias Sohn2025-03-042-2/+2
| | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Ie3159a6610f3a1425c3b812f8284c073ee2b429c
* Prepare 7.2.0-SNAPSHOT buildsMatthias Sohn2025-02-262-2/+2
| | | | Change-Id: I92dea20a60d0b03e295a4215656e2686bfa9a294
* JGit v7.2.0.202502261823-rc1v7.2.0.202502261823-rc1Matthias Sohn2025-02-262-2/+2
| | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I2b1209fe339ae6e7dd3c4291e21f97602fc2308d
* AddCommand: implement --all/--no-allThomas Wolf2025-02-261-8/+47
| | | | | | | | | | | | | | | | | | | Command-line git stages deletions if file paths are given. (i.e., --all is implied.) File paths are also optional if --update or --all (or --no-all) are given. Add a setter and getter for an "all" flag on AddCommand. Check consistency with the "update" flag in call(). Make file paths optional (imply a "." path) if update is set or if setAll() had been called. If file paths are given, set the all flag. Stage deletions if update is set, or if the "all" flag is set. Add the C git command-line options for the "all" flag to jgit.pgm.Add. Bug: jgit-122 Change-Id: Iedddedcaa2d7a2e75162454ea047f34ec1cf3660
* Add --exclude option to describe CLI commandMatthias Sohn2025-02-251-0/+20
| | | | Change-Id: I905f40750985571822e726cb6677aff45eeb5c49
* TestRepository: Deprecate #getDate and use #getInstant insteadIvan Frade2024-12-131-2/+2
| | | | | | | | | | | Errorprone recomments to use the more modern java.time API instead of the java.util.Date family of classes. This removes all uses of TestRepository#getDate and replace them with getInstant. The method is marked as deprecated and doesn't have any other usages. Change-Id: I84ea63abf781d0d3c7c2724891fd2ef7afc2db1d
* Merge branch 'stable-7.1'Matthias Sohn2024-12-061-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stable-7.1: FileSnapshot: silence "Not a Directory" exceptions FileSnapshot: refactor to share error handling Mark Attribute#getValue as @Nullable Fix potential NPE in ResolveMerger#getAttributesContentMergeStrategy Fix NPE in DiffFormatter#getDiffDriver Pack: ensure packfile is still valid while still recoverable WindowCache: add bulk purge(), call from bulk sites UploadPack#implies: add missing @since tag Disable MergeToolTest#testEmptyToolName Change-Id: Ifa8df2b9e6e4ee371113b7114fe20b42333e3718
| * Merge branch 'stable-7.0' into stable-7.1Matthias Sohn2024-12-061-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stable-7.0: FileSnapshot: silence "Not a Directory" exceptions FileSnapshot: refactor to share error handling Mark Attribute#getValue as @Nullable Fix potential NPE in ResolveMerger#getAttributesContentMergeStrategy Fix NPE in DiffFormatter#getDiffDriver Pack: ensure packfile is still valid while still recoverable WindowCache: add bulk purge(), call from bulk sites UploadPack#implies: add missing @since tag Disable MergeToolTest#testEmptyToolName Change-Id: Icb25fed5b703c6a39a64231fd8ca93c1f1a581be
| | * Merge branch 'stable-6.10' into stable-7.0Matthias Sohn2024-12-061-0/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stable-6.10: FileSnapshot: silence "Not a Directory" exceptions FileSnapshot: refactor to share error handling Mark Attribute#getValue as @Nullable Fix potential NPE in ResolveMerger#getAttributesContentMergeStrategy Fix NPE in DiffFormatter#getDiffDriver Pack: ensure packfile is still valid while still recoverable WindowCache: add bulk purge(), call from bulk sites UploadPack#implies: add missing @since tag Disable MergeToolTest#testEmptyToolName Change-Id: I854f44e76b73ae434a0d6b6ab782fd0aed72f219
| | | * Disable MergeToolTest#testEmptyToolNameMatthias Sohn2024-12-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which started to fail long time after it was merged. Disable the test to unblock other apparently unrelated changes until the root cause is found and fixed. Bug: jgit-115 Change-Id: Ic9a4c10a16feb7b61fb348b0b5a4b17961af0dfd
| | | * Prepare 6.10.1-SNAPSHOT buildsMatthias Sohn2024-06-042-21/+21
| | | | | | | | | | | | | | | | Change-Id: I3384e7405cadf063e7b0dd25468a8651c45628ac
| | | * JGit v6.10.0.202406032230-rv6.10.0.202406032230-rMatthias Sohn2024-06-042-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Id188a6cdc2db63c961f0b9338e6ae56d58853dff
| | | * JGit v6.10.0.202406032110-rv6.10.0.202406032110-rMatthias Sohn2024-06-032-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I3128b2e4bbbed97adde90f7a47e15175e63e97f5
| | | * Prepare 6.10.0-SNAPSHOT buildsMatthias Sohn2024-06-022-2/+2
| | | | | | | | | | | | | | | | Change-Id: I64f6d6a0599cbab462dca236c00e6f3314b2a810
| | | * JGit v6.10.0.202405290101-rc1v6.10.0.202405290101-rc1Matthias Sohn2024-05-292-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Ie3d08213e00fcfe1fc34a39021dd99f27e0abc1f
| | | * JGit v6.10.0.202405282244-rc1v6.10.0.202405282244-rc1Matthias Sohn2024-05-292-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Ia525790e0b4c9011b29768d2b9727cb48b21ba84
| | | * Prepare 6.10.0-SNAPSHOT buildsMatthias Sohn2024-05-222-2/+2
| | | | | | | | | | | | | | | | Change-Id: I5b6d5c23d504fac386ae04c42b735152fbbcd7ae
| | | * JGit v6.10.0.202405212237-m3v6.10.0.202405212237-m3Matthias Sohn2024-05-222-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I4efb1066ee4146d0455c39cc07879533b8933e43
* | | | MergeToolTest: update expected error from the toolIvan Frade2024-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test fails in jenkins becuase the error string is slightly different. It seems to come from an external tool (git mergetool?) that maybe changed that output (?). At the moment update the error string to match the output of the tool. Parsing error messages is bound to be flaky. Change-Id: I81e9bf65088b893af3a0d8e53d57052583fc2262
* | | | Prepare 7.2.0-SNAPSHOT buildsMatthias Sohn2024-11-272-21/+21
|/ / / | | | | | | | | | Change-Id: Ie3108fefbcbb55a4f26273833c9817ce4bd750f1
* | | Prepare 7.1.1-SNAPSHOT buildsMatthias Sohn2024-11-262-21/+21
| | | | | | | | | | | | Change-Id: Ifc710a83cda50f1275cbbd5a828f92d95607f298
* | | JGit v7.1.0.202411261347-rv7.1.0.202411261347-rMatthias Sohn2024-11-262-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I70f154dd1dc8571c5e2057d09d08d4a4d1b7ee37
* | | Add pack-refs command to the CLIYash Chaturvedi2024-11-221-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command can be used to optimize storage of references. For a RefDirectory database, it packs non-symbolic, loose refs into packed-refs. By default, only the references under '$GIT_DIR/refs/tags' are packed. The '--all' option can be used to pack all the references under '$GIT_DIR/refs'. For Reftable, all refs are compacted into a single table. Change-Id: I92e786403f8638d35ae3037844a7ad89e8959e02
* | | Prepare 7.1.0-SNAPSHOT buildsMatthias Sohn2024-09-032-21/+21
|/ / | | | | | | Change-Id: Iba206a2d4645fc275cd2cd1cb3ae965b8ceafb28
* | Prepare 7.0.1-SNAPSHOT buildsMatthias Sohn2024-09-032-21/+21
| | | | | | | | Change-Id: I5a6a9e398d8b81bf7bd0afbd6c82116d4472a349
* | JGit v7.0.0.202409031743-rv7.0.0.202409031743-rMatthias Sohn2024-09-032-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I86507936091e6f7af7588835722672ff2668a205
* | Prepare 7.0.0-SNAPSHOT buildsMatthias Sohn2024-08-282-2/+2
| | | | | | | | Change-Id: Ifa0a549e9551a2016241169e1c1e9052174c49d1
* | JGit v7.0.0.202408271414-rc1v7.0.0.202408271414-rc1Matthias Sohn2024-08-272-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I969947a7c5fef72ed0c2f50e96a60787474f9906
* | Prepare 7.0.0-SNAPSHOT buildsMatthias Sohn2024-08-212-2/+2
| | | | | | | | Change-Id: I07b258a9f94823c9c390daf6e1d3034ca5ace81f
* | JGit v7.0.0.202408202050-m3Matthias Sohn2024-08-202-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I44280658582c23ca0d9b85c4c24a1c2e7b82c6d8
* | JGit v7.0.0.202408201547-m3v7.0.0.202408201547-m3Matthias Sohn2024-08-202-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Ic04bf96a04e38da82a7ff41334db44891f02419b
* | JGit v7.0.0.202409201410-m3v7.0.0.202409201410-m3Matthias Sohn2024-08-202-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: If35e97f9fb415669bac6dfa10ac35b509b3ee921
* | Prepare 7.0.0-SNAPSHOT buildsMatthias Sohn2024-08-012-2/+2
| | | | | | | | Change-Id: Ic84217b6e8fb43e78b622883eb670ee135c75bbb
* | JGit v7.0.0.202407311305-m2v7.0.0.202407311305-m2Matthias Sohn2024-07-312-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: If51ca5e1949fc825146145e45271207d07169474
* | Prepare 7.0.0-SNAPSHOT buildsMatthias Sohn2024-07-142-2/+2
| | | | | | | | Change-Id: I18015892edc81cd42456a6eacb49607930070be9
* | JGit v7.0.0.202407101547-m1v7.0.0.202407101547-m1Matthias Sohn2024-07-102-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I80b799fc8f8d349ec3edb156e81593233013ae8b
* | Update minimum Java version to 17Matthias Sohn2024-05-025-7/+7
| | | | | | | | | | Bug: jgit-52 Change-Id: I27e85b3ab4c2e21c86d69d8707eeb9547d788287
* | Merge branch 'master' into nextMatthias Sohn2024-05-022-5/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Bazel: Add support for JDK 21 Bazel: Replace deprecated --experimental_strict_action_env option Fix warning about using raw type [errorprone] Fix pattern ModifiedButNotUsed [errorprone] Fix pattern CatchAndPrintStackTrace [errorprone] Fix pattern FutureReturnValueIgnored [errorprone] Fix pattern BadImport [errorprone] Fix pattern UseCorrectAssertInTests [errorprone] Fix pattern ProtectedMembersInFinalClass [errorprone] Fix pattern CatchFail [errorprone] Fix pattern see UnusedVariable [errorprone] Fix pattern LongLiteralLowerCaseSuffix [errorprone] Fix error pattern JdkObsolete [errorprone] Fix UnnecessaryParentheses errors Bazel: Update RBE docker image to Ubuntu 22.04 and JDK 17 Bump Bazel version to 7.1.1 PackIndex: Make #getOffset protected to allow out-of-package subclasses Change-Id: I4ecde5e6a3cb9f122990893fa97f6d2a9978bcc4
| * [errorprone] Fix UnnecessaryParentheses errorsMatthias Sohn2024-04-282-5/+4
| | | | | | | | | | | | See https://errorprone.info/bugpattern/UnnecessaryParentheses Change-Id: I783fd24286ec1bd55efbf21d05758465f4af87ee
| * Prepare 6.10.0-SNAPSHOT buildsMatthias Sohn2024-03-052-21/+21
| | | | | | | | Change-Id: Ie728ef9a7d3c6430a5da30f6a61afd2176015748
| * Prepare 6.9.1-SNAPSHOT buildsMatthias Sohn2024-03-052-21/+21
| | | | | | | | Change-Id: I10f901209be2faa34ebb9355c86c2106bac38ba5
| * JGit v6.9.0.202403050737-rv6.9.0.202403050737-rMatthias Sohn2024-03-052-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I70494c0c69ac549dea9b4cf7c5b25e94c1b4b250
| * JGit v6.9.0.202403050045-rv6.9.0.202403050045-rMatthias Sohn2024-03-052-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I4c7a6542ad4252c5a9499e69f68650d2026bde40
| * Prepare 6.9.0-SNAPSHOT buildsMatthias Sohn2024-03-052-2/+2
| | | | | | | | Change-Id: Ifadeead735c8772e58dd4e5c7381b44c5221a295
| * JGit v6.9.0.202402281855-rc1v6.9.0.202402281855-rc1Matthias Sohn2024-02-282-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I23d489ccdc257a8c25da4b90dc51d4a8951d320c
| * Prepare 6.9.0-SNAPSHOT buildsMatthias Sohn2024-02-222-2/+2
| | | | | | | | Change-Id: I11f4871bfdf6c6c0de5d5ed577edf16bac8cf681
| * JGit v6.9.0.202402211805-m3v6.9.0.202402211805-m3Matthias Sohn2024-02-212-2/+2
| | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Id2f3934947d6d1e94feeb9e73ad7282ae089b682