]> source.dussan.org Git - jgit.git/log
jgit.git
9 years agoDo not use deprecated tasks in maven-antrun-plugin. 42/37842/1
Alexander Kurtakov [Tue, 9 Dec 2014 12:48:42 +0000 (14:48 +0200)]
Do not use deprecated tasks in maven-antrun-plugin.

Maven-antrun-plugin deprecated tasks in favor of target, this patch
fixes JGit poms to do the same.

Change-Id: I420fd2ce88c61cf8e786ed45fbb8235dc30c124e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
10 years agoMerge "Honor git-core meaning of receive.denyDeletes allowing tag deletion"
Matthias Sohn [Sun, 30 Nov 2014 00:18:31 +0000 (19:18 -0500)]
Merge "Honor git-core meaning of receive.denyDeletes allowing tag deletion"

10 years agoHonor git-core meaning of receive.denyDeletes allowing tag deletion 64/36964/2
Shawn Pearce [Tue, 25 Nov 2014 00:40:54 +0000 (16:40 -0800)]
Honor git-core meaning of receive.denyDeletes allowing tag deletion

receive.denyDeletes parameter refers only to branch:
http://thread.gmane.org/gmane.comp.version-control.git/99746

Bug: 412640
Change-Id: Ief3fa6abc0c9a18ba0a671ff9854432cec480c4f

10 years agoMove checkPath from DirCacheCheckout to ObjectChecker 14/37314/1
Shawn Pearce [Tue, 25 Nov 2014 05:43:59 +0000 (21:43 -0800)]
Move checkPath from DirCacheCheckout to ObjectChecker

The bulk of the "is this sane" logic is inside of ObjectChecker.  The
only caller for the version in DirCacheCheckout is an obtuse usage for
the static isValidRefName() method in Repository.

Deprecate the weird single use method in DirCacheCheckout and move all
code for checking a sequence of path components into ObjectChecker,
where it makes sense alongside the existing code that checks a single
component at a time.

Reuse a single ObjectChecker for the local platform, to avoid looking
up the system properties on each path string considered.

Change-Id: Iae6e769f2bfcad05c166e70ff255f9cf9fcdc87e

10 years agoUse baseline instead of centerline in PlotRenderer 03/37303/2
Michael Keppler [Fri, 28 Nov 2014 20:21:59 +0000 (21:21 +0100)]
Use baseline instead of centerline in PlotRenderer

If the text extent height of a to be rendered plot line is odd, then the
SWTPlotRenderer cannot calculate the correct Y position for drawing the
label and draws the label with a 1 pixel offset. SWT text drawing uses
the baseline as Y coordinate. Due to the given centerline API in the
AbstractPlotRenderer the overall calculation of the baseline for SWT is
effectively (height / 2) * 2, thereby rounding all odd heights downward
to the next even number.

This change pushes the division by 2 from the caller into the
implementations of drawText. A corresponding change will be pushed in
the egit repository.

Bug: 450813
Change-Id: I66f4e71873bb8e6f936fde573bbe4c35fe23a022
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoConsider parent rules if ignore rule is negated 95/35295/7
Andrey Loskutov [Wed, 22 Oct 2014 07:31:42 +0000 (09:31 +0200)]
Consider parent rules if ignore rule is negated

The change tries to make jgit behave more like native CLI git regarding
the negation rules. According to [1] "... prefix "!" which negates the
pattern; any matching file excluded by a previous pattern will become
included again." Negating the pattern should not automatically make the
file *not ignored* - other pattern rules have to be considered too.

The fix adds test cases for both bugs 448094 and 407475.

[1] https://www.kernel.org/pub/software/scm/git/docs/gitignore.html

Bug: 448094
Bug: 407475
Change-Id: I322954200dd3c683e3d8f4adc48506eb99e56ae1
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoResolveMerger: Use checkoutEntry during abort 17/37217/1
Shawn Pearce [Wed, 26 Nov 2014 00:14:33 +0000 (16:14 -0800)]
ResolveMerger: Use checkoutEntry during abort

The cleanUp path is trying to restore files that previously were
clean, but were overwritten in the work tree by a partial merge
attempt that has failed and needs to be aborted. Reuse the checkout
logic to write the file content and refresh the stat data.

Change-Id: I320d33b3744daf88d3155db99e957408937ddd00

10 years agoCleanup double stat update of symlinks in DirCacheCheckout 16/37216/1
Shawn Pearce [Tue, 25 Nov 2014 23:10:41 +0000 (15:10 -0800)]
Cleanup double stat update of symlinks in DirCacheCheckout

When writing a symlink the stat data should only be written once
into the DirCacheEntry, based on the symlink itself and not the
possibly resolved destination observed by java.io.File.

Refactor the code to handle symlinks and early return.  This
removes the risk the blob stat info update is used against a
newly checked out symlink.

Hoist the file length stat update immediately after writing
the file, before a rename. This eliminates any race caused by another
process updating the file length after the rename and having it to
fall into the racily clean path.

Change-Id: I978ad9719c018ce1cf26947efbabaa8b9dff2217

10 years agoDeprecate checkoutEntry variant that accepts File 15/37215/1
Shawn Pearce [Tue, 25 Nov 2014 21:49:22 +0000 (13:49 -0800)]
Deprecate checkoutEntry variant that accepts File

Entries should only be written to the working tree managed by the
Repository. Simplify callers by passing only the entry and computing
the work tree location inside of the checkoutEntry method.

Change-Id: I574e41280d0407f1853fda12f4bd0d30f75d74e7

10 years agoDirCacheCheckout: create only one ObjectReader 14/37214/1
Shawn Pearce [Mon, 24 Nov 2014 19:38:09 +0000 (11:38 -0800)]
DirCacheCheckout: create only one ObjectReader

This deprecated method accidentally creates two ObjectReader
instances. Use the instance created one line above that is
correctly released in the finally block.

Change-Id: Ic57d041674611802a9384d8fa1d292e821055019

10 years agoSupport DfsRepository from GarbageCollectCommand 65/36965/2
Shawn Pearce [Tue, 25 Nov 2014 00:49:22 +0000 (16:49 -0800)]
Support DfsRepository from GarbageCollectCommand

Bug: 406379
Change-Id: I7f4f23cd50d46ffcde69d6abfe3ca0cc6fa86604

10 years agoAllow configurable ObjectCheckers in fetch 62/36962/1
Shawn Pearce [Mon, 24 Nov 2014 22:51:09 +0000 (14:51 -0800)]
Allow configurable ObjectCheckers in fetch

RecievePack already honors fsck settings for safeForWindows and
safeForMacOS.  Allow those same checks to be performed during fetch
through a caller-configurable ObjectChecker.

Default the fetch fsck options to match the current platform, as
it can be reasonably assumed the repository will be accessed here.

Change-Id: I3c0f411fad209c6bd8fb9c4acf5c55a6799a6a2a

10 years agoMerge changes If5b8bb91,Ib57fba6c
Matthias Sohn [Mon, 24 Nov 2014 21:16:39 +0000 (16:16 -0500)]
Merge changes If5b8bb91,Ib57fba6c

* changes:
  Cleanup TreeWalk creation/release inside StashApplyCommand
  Deprecate checkoutEntry without ObjectReader

10 years agoCleanup TreeWalk creation/release inside StashApplyCommand 58/36958/1
Shawn Pearce [Mon, 24 Nov 2014 19:51:32 +0000 (11:51 -0800)]
Cleanup TreeWalk creation/release inside StashApplyCommand

The TreeWalk constructor doesn't throw in a meaninful way that
requires cleanup of the not-yet-created TreeWalk.

Hoist the constructor outside of the try/finally and remove the
now unnecessary != null check during the finally.

Change-Id: If5b8bb91562715df0699726648123a47426b9850

10 years agoDeprecate checkoutEntry without ObjectReader 57/36957/1
Shawn Pearce [Mon, 24 Nov 2014 19:38:09 +0000 (11:38 -0800)]
Deprecate checkoutEntry without ObjectReader

Callers should manage the ObjectReader, as this allows the JGit library to cache
context relevant information across files checked out at the same time. If the
caller only has one file to checkout, it should still explicitly manage the life
span of the ObjectReader.

Change-Id: Ib57fba6cb4b774ccff8c416ef4d32e2b390f16a9

10 years agoDelete .eclipse_iplog 27/36927/1
Matthias Sohn [Mon, 24 Nov 2014 13:48:38 +0000 (14:48 +0100)]
Delete .eclipse_iplog

We don't use this file anymore since a long time since IP log
generation has been automated at the Eclipse foundation.

Change-Id: I36dd5291d53d06af6a3378c0229c1908e153caae
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoSet permission bits for "executable" attribute according to the umask 66/31766/9
Andrey Loskutov [Fri, 15 Aug 2014 15:27:15 +0000 (17:27 +0200)]
Set permission bits for "executable" attribute according to the umask

Bug: 424395
Change-Id: I3f5c55dd4c084529af2319029305ba2e174e0636
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoupload-pack: send symbolic refs as capabilities 24/36824/5
Yuxuan 'fishy' Wang [Thu, 20 Nov 2014 23:50:24 +0000 (15:50 -0800)]
upload-pack: send symbolic refs as capabilities

cgit has this feature for some time. This will teach JGit to send symbolic refs,
too.

Change-Id: I7cb2ab4e6d31a838a0af92eac64535fdb66ed74a
Signed-off-by: Yuxuan 'fishy' Wang <fishywang@google.com>
10 years agoDefine version of javadoc plugin used to generate site 14/36614/2
Matthias Sohn [Tue, 18 Nov 2014 10:02:17 +0000 (11:02 +0100)]
Define version of javadoc plugin used to generate site

This silences the Maven warning "'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-javadoc-plugin is missing"

Change-Id: I036210fefb6bd81ca04fcd91aaba0f9d0c1e8862
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoInclude the java7 feature in org.eclipse.jgit.feature 10/36410/2
Matthias Sohn [Thu, 13 Nov 2014 14:46:13 +0000 (15:46 +0100)]
Include the java7 feature in org.eclipse.jgit.feature

This way we no longer need to advertise it in the release train and can
uncategorize the jgit features without making it harder for users to
find and install the java7 feature.

Bug: 451276
Change-Id: I4c7dd0e1609fc1939d8ea83c01251dec59c228a3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoDon't use java.util.regex for two simple wildcard cases 44/36144/3
Andrey Loskutov [Fri, 7 Nov 2014 15:30:44 +0000 (16:30 +0100)]
Don't use java.util.regex for two simple wildcard cases

To improve ignore parser performance we can avoid using java.util.regex
code on simple wildcard patterns with leading or trailing asterisk. As
those patterns represent a majority of ignore rules, the index diff
performance can be drastically increased on huge repository with lot of
ignore rules.

Bug: 450466
Change-Id: I80428441cc8d5de5468813f841d89322413eed8b
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge "Fix variable name and error message for sideband testing"
Shawn Pearce [Thu, 13 Nov 2014 21:50:59 +0000 (16:50 -0500)]
Merge "Fix variable name and error message for sideband testing"

10 years agoLet RepositoryBuilder find bare repos 28/36128/2
Christian Halstrick [Fri, 7 Nov 2014 12:15:11 +0000 (13:15 +0100)]
Let RepositoryBuilder find bare repos

BaseRepositoryBuilder.findGitDir() was not searching correctly for bare
repositories. E.g. when running org.eclipse.jgit.pgm.Log and the current
directory was that of a bare git repository an error "fatal: error:
can't find git directory" was raised. With this fix RepositoryBuilder
will also check whether the given directory is the root of a bare
repository.

Bug: 450193
Change-Id: I4d4ad42e24ca397745adb0f3385caee3bcf3a186
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPrepare post 3.6.0-m1 builds 68/36368/1
Matthias Sohn [Wed, 12 Nov 2014 17:51:27 +0000 (18:51 +0100)]
Prepare post 3.6.0-m1 builds

Change-Id: Ie9927de64fa6b7d517f96b8cd12e57541f284ff2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoJGit v3.6.0.201411121045-m1 40/36340/1 v3.6.0.201411121045-m1
Matthias Sohn [Wed, 12 Nov 2014 15:41:54 +0000 (16:41 +0100)]
JGit v3.6.0.201411121045-m1

Change-Id: I9d789113d88cbbbdbabb8919f80c805aa4ba86fe
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge branch 'stable-3.5' 29/36329/1
Matthias Sohn [Wed, 12 Nov 2014 14:06:19 +0000 (15:06 +0100)]
Merge branch 'stable-3.5'

* stable-3.5:
  Prepare 3.5.3-SNAPSHOT builds
  JGit v3.5.2.201411120430-r
  Don't use SSL anymore to avoid POODLE attack

Change-Id: Icc8404a94512aae36da83baafb8b10422b7bbf7b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPrepare 3.5.3-SNAPSHOT builds 18/36318/2
Matthias Sohn [Wed, 12 Nov 2014 10:20:57 +0000 (11:20 +0100)]
Prepare 3.5.3-SNAPSHOT builds

Change-Id: Ia37eb66a0deaf6e86a726b1b12eaea25416d4a36
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoJGit v3.5.2.201411120430-r 09/36309/1 v3.5.2.201411120430-r
Matthias Sohn [Wed, 12 Nov 2014 09:38:44 +0000 (10:38 +0100)]
JGit v3.5.2.201411120430-r

Change-Id: I217d25ee712cbde52bc9319ef1dd15d2f571d37a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoIntroduce config parameter core.trustfolderstat 58/36058/2
Christian Halstrick [Thu, 6 Nov 2014 16:58:01 +0000 (17:58 +0100)]
Introduce config parameter core.trustfolderstat

JGit's ObjectDirectory implements the optimization that it remembers the
pack folders (.git/objects/pack) lastModified timestamp and doesn't
check for new packfiles in this folder if the lastModified attribute has
not changed.
In environments using NFS this can cause trouble. If multiple JGit
instances from multiple machines work on the same repository and one
instance creates a new ref and a new packfile (e.g. by doing a fetch)
then the other machines may detect the new ref but can't resolve the
referenced object because it doesn't detect that pack folder has a new
packfile. That's because NFS may cache file/folder metadata for quite a
long time and the pack folders modification time is not updated although
a new packfile is there and could be read.

The new config parameter core.trustfolderstat controls this behaviour.
The default is true and jgits behaviours is unchanged. But if this
parameter is set to false then jgit doesn't trust the pack directories
lastmodified anymore. Instead it will always iterate through the content
of that folder to detect new packfiles.

Change-Id: Ie3b4e92933286aa9916070a22422e629b3147f54
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFix javadoc formatting in ConfigConstants 01/36301/1
Matthias Sohn [Tue, 11 Nov 2014 23:38:45 +0000 (00:38 +0100)]
Fix javadoc formatting in ConfigConstants

Change-Id: I6ae39b874a3c1fa9e1cda235ff137c9eb8dd359f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFix variable name and error message for sideband testing 96/35996/3
Stefan Beller [Tue, 11 Nov 2014 02:18:34 +0000 (18:18 -0800)]
Fix variable name and error message for sideband testing

Actually the test only allows a range from [1,255], so let's name the
variable so.

Change-Id: Iecdb8149b83389c67e3cd2f64f4a654c175475be
Signed-off-by: Stefan Beller <sbeller@google.com>
10 years agoExpand wildcard imports to specfic classes 51/36251/1
Shawn Pearce [Mon, 10 Nov 2014 23:35:20 +0000 (15:35 -0800)]
Expand wildcard imports to specfic classes

JGit style is to import exactly the classes required, and never
to use "import foo.*" as the foo package could add new classes
in the future which are conflicting/confusing with the imports
already used by a source file.

Change-Id: I5693408c777e5843ec65fff1163d5d717849fa34

10 years agoFix possible NPE in IndexDiff when not all submodules are cloned 91/36191/2
Christian Halstrick [Sat, 8 Nov 2014 17:46:25 +0000 (18:46 +0100)]
Fix possible NPE in IndexDiff when not all submodules are cloned

The latest changes to IndexDiff just assumed that all configured
submodules are allways cloned. If a configured submodule did not exist
an exception was thrown. This is fixed by this commit.

Bug: 450567
Change-Id: Iabe3b196d998c19483082e5720038ebddaeb1890

10 years agoAdd missing @since tags 90/36190/2
Christian Halstrick [Sat, 8 Nov 2014 17:29:01 +0000 (18:29 +0100)]
Add missing @since tags

Change-Id: Ia657e46b9abc8c8640f63f6ff579b2f8f2b01de4

10 years ago4.4 target platform should use Luna repository 05/36205/1
Matthias Sohn [Sun, 9 Nov 2014 20:55:39 +0000 (21:55 +0100)]
4.4 target platform should use Luna repository

Change-Id: I54cdfb5699f87bf86b0434aff0b9618e57a80757
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge "Add target platform for Mars using Orbit S-build"
Matthias Sohn [Sun, 9 Nov 2014 20:54:03 +0000 (15:54 -0500)]
Merge "Add target platform for Mars using Orbit S-build"

10 years agoMerge "Implement atomic refs update, if possible by database"
Shawn Pearce [Sat, 8 Nov 2014 03:04:33 +0000 (22:04 -0500)]
Merge "Implement atomic refs update, if possible by database"

10 years agoImplement atomic refs update, if possible by database 97/36097/6
Stefan Beller [Sat, 8 Nov 2014 02:51:18 +0000 (18:51 -0800)]
Implement atomic refs update, if possible by database

Inspired by the series[1], this implements the possibility to
have atomic ref transactions.
If the database supports atomic ref update capabilities, we'll
advertise these. If the client wishes to use this feature, either
all refs will be updated or none at all.

[1] http://thread.gmane.org/gmane.comp.version-control.git/259019/focus=259024

Change-Id: I7b5d19c21f3b5557e41b9bcb5d359a65ff1a493d
Signed-off-by: Stefan Beller <sbeller@google.com>
10 years agoAdd target platform for Mars using Orbit S-build 45/36145/2
Matthias Sohn [Wed, 5 Nov 2014 08:23:50 +0000 (09:23 +0100)]
Add target platform for Mars using Orbit S-build

updates:
- jsch to 0.1.51 (CQ 8889)
- ant to 1.9.4 (CQ 8890)

CQ: 8889
CQ: 8890
Change-Id: I31f331ce797994d164661b421bfbab33c289deaf
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoDon't use SSL anymore to avoid POODLE attack 91/36091/1
Dani Megert [Wed, 5 Nov 2014 16:05:34 +0000 (17:05 +0100)]
Don't use SSL anymore to avoid POODLE attack

For details about poodle see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3566

Bug 450170
Change-Id: Ib169e88d9d51f4d0e6caa3a498f48edc81e0991d
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMake sure checkout doesn't report conflicts on ignored paths 63/36063/3
Christian Halstrick [Thu, 6 Nov 2014 18:01:23 +0000 (19:01 +0100)]
Make sure checkout doesn't report conflicts on ignored paths

In a situation where a certain path was ignored but a working tree file
with this path existed jgit didn't allow to checkout a branch which
didn't ignore this path but contained different content. JGit considered
this to be a checkout conflict to prevent overwriting the file in the
working tree and raised an error. This commit fixes this by ensuring
that ignored dirty working tree files don't lead to a checkout conflict.

Bug: 450169
Change-Id: I90288d314ffac73c24a9c70a5181f8243bd4679a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoDo not swallow exception if IndexDiff hits invalid ignore param 05/36005/1
Matthias Sohn [Thu, 6 Nov 2014 08:48:01 +0000 (09:48 +0100)]
Do not swallow exception if IndexDiff hits invalid ignore param

Change-Id: I8a595e1f01a0731118d3c537be420222f7fec744
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFix non-externalized string warnings in IndexDiff 04/36004/1
Matthias Sohn [Thu, 6 Nov 2014 08:46:45 +0000 (09:46 +0100)]
Fix non-externalized string warnings in IndexDiff

Change-Id: Ia803182114f0e8b418428e03601f9afc6542ed28
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoAdd new method IndexDiff#getPathsWithIndexMode 32/35932/3
Axel Richard [Wed, 5 Nov 2014 08:30:47 +0000 (09:30 +0100)]
Add new method IndexDiff#getPathsWithIndexMode

Get the list of paths that have the given file mode.

This helps EGit to efficiently determine which modified files are
symlinks and should be shown with a symlink icon in the staging view.

Bug: 429302
Change-Id: Id15f0c6f265667f5b8b57cc2d9f97de568371919
Signed-off-by: Axel Richard <axel.richard@obeo.fr>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoadd missing @since tag in StatusCommand 64/35864/1
Christian Halstrick [Tue, 4 Nov 2014 08:42:37 +0000 (09:42 +0100)]
add missing @since tag in StatusCommand

Change-Id: Ie8d9c3878116488b973dfc80c7c97f174e769d3f

10 years agoAdd missing @since tags in SubmoduleWalk 54/35854/1
Matthias Sohn [Mon, 3 Nov 2014 22:49:36 +0000 (23:49 +0100)]
Add missing @since tags in SubmoduleWalk

Change-Id: Ica34e6709a34977422fd528cbd4df0044403e45d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoAdd missing @since tags 18/35818/2
Matthias Sohn [Mon, 3 Nov 2014 16:06:46 +0000 (17:06 +0100)]
Add missing @since tags

Change-Id: I27207bafe0ce31caab25ab9c0be1f22adf151783
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoEnhance SubmoduleWalk with a fast check whether a repo contains 90/35190/3
Christian Halstrick [Tue, 21 Oct 2014 09:17:34 +0000 (11:17 +0200)]
Enhance SubmoduleWalk with a fast check whether a repo contains
submodules

Change-Id: Id37efb4f4dd77f3b8eb5607d15d32adeda3992d4

10 years agoRebaseCommand should ignore submodule modifications 26/35126/3
Christian Halstrick [Fri, 17 Oct 2014 08:05:32 +0000 (10:05 +0200)]
RebaseCommand should ignore submodule modifications

Before a rebase happens the RebaseCommand checks that the working tree
is clean. We don't want to start a rebase on a dirty working tree. If
the working tree is dirty a rebase should not be allowed. But
RebaseCommand should ignore modifications done to submodules. E.g. if a
submodules HEAD points to <x> but the root repository has in index that
the submodule should point to <y> then this should not prohibit a
rebase. Also native git allows a rebase in this case. Since jgit's
StatusCommand has learned to ignore submodule changes this is now used
by the RebaseCommand to determine the repository state correctly.

Bug: 446922
Change-Id: I487bf7484dca3f5501e6e514584e2871524eea19

10 years agoSupport for Submodule configuration submodule.<name>.ignore 25/35125/3
Christian Halstrick [Fri, 17 Oct 2014 07:58:39 +0000 (09:58 +0200)]
Support for Submodule configuration submodule.<name>.ignore

For each submodule native git allows to configure which modifications to
submodules should be ignored by the status command. It is possible to
ignore "none", "all", "dirty", "untracked" [1]. This configuration is
now supported by IndexDiff. The StatusCommand offers the possibility to
specify this mode.

[1] http://git-scm.com/docs/gitmodules

Change-Id: Ifd81d574a680f9b4152945ba70f8ec4af4f452c9

10 years agoReimplementation of ignore rule parser 66/31366/8
Andrey Loskutov [Mon, 11 Aug 2014 07:28:52 +0000 (09:28 +0200)]
Reimplementation of ignore rule parser

The current IgnoreRule/FileNameMatcher implementation scales not well
with huge repositories - it is both slow and memory expensive while
parsing glob expressions (bug 440732). Addtitionally, the "double star"
pattern (/**/) is not understood by the old parser (bug 416348).

The proposed implementation is a complete clean room rewrite of the
gitignore parser, aiming to add missing double star pattern support and
improve the performance and memory consumption.

The glob expressions from .gitignore rules are converted to Java regular
expressions (java.util.regex.Pattern). java.util.regex.Pattern code can
evaluate expression from gitignore rules considerable faster (and with
less memory consumption) as the old FileNameMatcher implementation.

CQ: 8828
Bug: 416348
Bug: 440732
Change-Id: Ibefb930381f2f16eddb9947e592752f8ae2b76e1
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge "Initialize 'pathLen' field also for empty directories"
Robin Stocker [Thu, 23 Oct 2014 10:50:00 +0000 (06:50 -0400)]
Merge "Initialize 'pathLen' field also for empty directories"

10 years agoInitialize 'pathLen' field also for empty directories 54/34054/5
Andrey Loskutov [Mon, 29 Sep 2014 14:28:06 +0000 (16:28 +0200)]
Initialize 'pathLen' field also for empty directories

Bug: 445363
Change-Id: Ia8428af84fb61ba0d572374a19e8e8c55b138a63
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
10 years agoMerge "Add retainOnReset(RevFlag) to RevWalk to simplify reset usage"
Shawn Pearce [Mon, 20 Oct 2014 17:45:28 +0000 (13:45 -0400)]
Merge "Add retainOnReset(RevFlag) to RevWalk to simplify reset usage"

10 years agoAdd retainOnReset(RevFlag) to RevWalk to simplify reset usage 79/35079/2
Shawn Pearce [Fri, 17 Oct 2014 21:17:23 +0000 (14:17 -0700)]
Add retainOnReset(RevFlag) to RevWalk to simplify reset usage

Applications sometimes use a RevFlag instead of a Set<RevObject>
to track boolean state bits about objects being processed. However
this requires careful use of the resetRetain() methods to avoid an
accidental clearing of the RevFlag bits, effectively clearing the
Set<RevObject> the application wanted to track.

Simplify that use case by offering retainOnReset, a collection of
flags that are never cleared by the RevWalk.

Change-Id: I4c05b89b1398e4a4f371eac3a5d1d5edddec838f

10 years agoBundleWriter: Support including HEAD in bundle 92/35092/1
Robin Stocker [Sun, 19 Oct 2014 03:40:29 +0000 (14:40 +1100)]
BundleWriter: Support including HEAD in bundle

Bug: 446813
Change-Id: Ide64aec2a995dd7ff6c1325c3ada242a4eb4565e
Signed-off-by: Robin Stocker <robin@nibor.org>
10 years agoMerge branch 'stable-3.5' 56/34956/1
Matthias Sohn [Tue, 14 Oct 2014 15:51:53 +0000 (17:51 +0200)]
Merge branch 'stable-3.5'

* stable-3.5:
  Prepare 3.5.2-SNAPSHOT builds
  JGit v3.5.1.201410131835-r
  Only hide gitdir if the repository isn't bare

Change-Id: I171e5fb8718cb6829bb1357859c95b4a29910ac6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPrepare 3.5.2-SNAPSHOT builds 32/34832/1
Matthias Sohn [Mon, 13 Oct 2014 23:29:37 +0000 (01:29 +0200)]
Prepare 3.5.2-SNAPSHOT builds

Change-Id: Ib2ccdebe80bad0b09d2d31889a3ab89d77e341f6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoJGit v3.5.1.201410131835-r 28/34828/1 v3.5.1.201410131835-r
Matthias Sohn [Mon, 13 Oct 2014 22:38:49 +0000 (00:38 +0200)]
JGit v3.5.1.201410131835-r

Change-Id: I37e049c8e81f963cfb7c17f1af91fd4245766aee
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge "Only hide gitdir if the repository isn't bare" into stable-3.5
Christian Halstrick [Mon, 13 Oct 2014 15:57:55 +0000 (11:57 -0400)]
Merge "Only hide gitdir if the repository isn't bare" into stable-3.5

10 years agoFix ResetCommand to default to mixed reset 42/34742/3
Matthias Sohn [Mon, 13 Oct 2014 14:41:58 +0000 (16:41 +0200)]
Fix ResetCommand to default to mixed reset

ResetCommand threw an NPE if neither mode nor path was defined. Instead
it should default to a mixed reset like native git does.

Change-Id: I455902394f9e7b0c7afae42381f34838f7f2a138
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoUpdate URL of JGit Maven release repository 84/34784/1
Matthias Sohn [Mon, 13 Oct 2014 08:25:14 +0000 (10:25 +0200)]
Update URL of JGit Maven release repository

This repository is required to allow clirr to compare the API of the
checked out version against the API of the latest release of jgit. The
old Maven repository on the download server was replaced by Nexus a long
time back.

Change-Id: I05125407fb72531c6831ec721064b0dad278bde5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge branch 'stable-3.5' 82/34782/1
Matthias Sohn [Sun, 12 Oct 2014 21:42:55 +0000 (23:42 +0200)]
Merge branch 'stable-3.5'

* origin/stable-3.5:
  When marking commits as uninteresting don't care if the tree exists

Change-Id: I66559a72ed7284cb721cf929512af884c0db2d61
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoCompare API changes against 3.5.0 81/34781/1
Matthias Sohn [Sun, 12 Oct 2014 20:24:16 +0000 (22:24 +0200)]
Compare API changes against 3.5.0

Change-Id: I10e51aea66f1446dd1d6d367ea113d824252d82b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoEnable maven site generation for jgit 80/34780/1
Matthias Sohn [Thu, 25 Sep 2014 09:18:53 +0000 (11:18 +0200)]
Enable maven site generation for jgit

Generating the site:
$ mvn site:site

Local staging of the site:
$ mvn site:stage
the site is staged under ./target/staging/

If you can connect to build.eclipse.org over ssh
(ask webmaster if you are a committer and need ssh access)
you can deploy a local build of the site:
$ mvn site:deploy
The site is deployed under
http://download.eclipse.org/jgit/site/${project.version}

To select the ssh key to use for deploying over ssh add the following
section to your Maven settings.xml:
<server>
  <id>jgit.website</id>
  <username>username</username>
  <privateKey>${user.home}/.ssh/id_rsa</privateKey>
  <filePermissions>664</filePermission>
  <directoryPermissions>775</directoryPermissions>
  <configuration></configuration>
</server>

To deploy the site from Hudson https://hudson.eclipse.org/egit/
enable the Maven profile "build-server".

Change-Id: I7e64c8560ca75196d2232f111ffad953c14f013f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit 6d00f0a09c67421d4ac9960c568f9c18ceb4a6a4)

10 years agoGenerate javadocs as part of Maven site project reports 79/34779/1
Matthias Sohn [Thu, 25 Sep 2014 09:17:40 +0000 (11:17 +0200)]
Generate javadocs as part of Maven site project reports

see http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html

Change-Id: I6dc5dddea0adbb4abf5560d5d1c833408e944082
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit a3d0b0d903452ed9ba9d7bb5ea58c275b318a66f)

10 years ago[Java 8] Configure doclint to accept missing descriptions 78/34778/1
Matthias Sohn [Mon, 22 Sep 2014 22:27:46 +0000 (00:27 +0200)]
[Java 8] Configure doclint to accept missing descriptions

We avoid trivial descriptions in JavaDoc. Hence configure
doclint to not fail on missing descriptions.

Change-Id: Iba3d5aec18cc7d7f43e53fa6789f0dede9996fb7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit 54dc4b20b3e084c9c470c8211810dff008b6f0fc)

10 years agoWhen marking commits as uninteresting don't care if the tree exists 27/34727/1
Christian Halstrick [Thu, 9 Oct 2014 22:00:45 +0000 (00:00 +0200)]
When marking commits as uninteresting don't care if the tree exists

When during an ObjectWalk commits are marked as uninteresting we should
be tolerant against the situation that the commit exists in the repo but
the referenced tree is not exisiting. Since commit
c4797fe98655b3d52d0a90ba44fce6e053db3b8b we are throwing
MissingObjectException in such a case. This semantic differs from native
git behaviour and may cause push operations to fail while they would
work in native git. See:
http://dev.eclipse.org/mhonarc/lists/egit-dev/msg03585.html

Bug: 445744
Change-Id: Ib7dec10fd2ef1adbb8adbabb9d3d5a64e554286a

10 years agoRevert "When marking commits as uninteresting don't care if the tree exists"
Christian Halstrick [Thu, 9 Oct 2014 22:09:44 +0000 (00:09 +0200)]
Revert "When marking commits as uninteresting don't care if the tree exists"

This reverts commit 441fdb54ef05bbe58c61d562b331d606b0edd783.

10 years agoWhen marking commits as uninteresting don't care if the tree exists
Christian Halstrick [Thu, 9 Oct 2014 22:00:45 +0000 (00:00 +0200)]
When marking commits as uninteresting don't care if the tree exists

When during an ObjectWalk commits are marked as uninteresting we should
be tolerant against the situation that the commit exists in the repo but
the referenced tree is not exisiting. Since commit
c4797fe98655b3d52d0a90ba44fce6e053db3b8b we are throwing
MissingObjectException in such a case. This semantic differs from native
git behaviour and may cause push operations to fail while they would
work in native git. See:
http://dev.eclipse.org/mhonarc/lists/egit-dev/msg03585.html

Bug: 445744
Change-Id: Ib7dec10fd2ef1adbb8adbabb9d3d5a64e554286a

10 years agoOnly hide gitdir if the repository isn't bare 39/34439/2
Matthias Sohn [Mon, 6 Oct 2014 09:07:21 +0000 (11:07 +0200)]
Only hide gitdir if the repository isn't bare

This problem was raised on the jgit list
https://dev.eclipse.org/mhonarc/lists/jgit-dev/msg02675.html

Change-Id: I8ce8a159120ce3747d31d6f012c6d2c0d0ce7917
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoMerge branch 'stable-3.5' 68/33968/1
Matthias Sohn [Fri, 26 Sep 2014 13:45:46 +0000 (15:45 +0200)]
Merge branch 'stable-3.5'

* stable-3.5:
  Prepare 3.5.1-SNAPSHOT builds
  JGit v3.5.0.201409260305-r
  Fix PackWriterBitmapWalker handling non-existing uninteresting objects
  Enable maven site generation for jgit
  Generate javadocs as part of Maven site project reports
  Compare API changes with clirr against 3.4.1
  [cli] Use chaining credentials provider to enable .netrc
  Add chaining credentials provider
  [Java 8] Configure doclint to accept missing descriptions
  Do not use .netrc implicitly if no CredentialsProvider was set
  Prepare post 3.5.0-rc1 builds
  JGit 3.5.0.201409071800-rc1
  Fix the ls-remote command when there is no local repo

Change-Id: Iaa4485cac6ff9c7917380e89e12e416e0f52a557
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPrepare 3.5.1-SNAPSHOT builds 63/33963/1
Matthias Sohn [Fri, 26 Sep 2014 12:56:34 +0000 (14:56 +0200)]
Prepare 3.5.1-SNAPSHOT builds

Change-Id: Ibf89f996c9d9a7e431ee09261987bb76246de441
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoJGit v3.5.0.201409260305-r 39/33939/1 v3.5.0.201409260305-r
Matthias Sohn [Fri, 26 Sep 2014 07:02:45 +0000 (09:02 +0200)]
JGit v3.5.0.201409260305-r

Change-Id: Ibf382bda3dcbb4b70829b1dd3a8abfd07bc4879e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFix PackWriterBitmapWalker handling non-existing uninteresting objects 06/33906/5
Christian Halstrick [Thu, 25 Sep 2014 15:29:35 +0000 (17:29 +0200)]
Fix PackWriterBitmapWalker handling non-existing uninteresting objects

When writing new packs it should be allowed to specify objects as "have"
(objects which should not be included in the pack) which do not exist in
the local repository.

This works with the traditional PackWriter, but when PackWriter was
working on a repository with bitmap indexes and used
PackWriterBitmapWalker then this feature was broken. Non-existing "have"
objects lead to MissingObjectExceptions. That broke push and Gerrit
replication. When the replication target had branches unknown to the
replication source then the source repository wanted to build pack files
where "have" included branch-tips which were unknown in the source
repository.

Bug: 427107
Change-Id: I6b6598a1ec49af68aa77ea6f1f06e827982ea4ac
Also-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoEnable maven site generation for jgit 92/33892/1
Matthias Sohn [Thu, 25 Sep 2014 09:18:53 +0000 (11:18 +0200)]
Enable maven site generation for jgit

Generating the site:
$ mvn site:site

Local staging of the site:
$ mvn site:stage
the site is staged under ./target/staging/

If you can connect to build.eclipse.org over ssh
(ask webmaster if you are a committer and need ssh access)
you can deploy a local build of the site:
$ mvn site:deploy
The site is deployed under
http://download.eclipse.org/jgit/site/${project.version}

To select the ssh key to use for deploying over ssh add the following
section to your Maven settings.xml:
<server>
  <id>jgit.website</id>
  <username>username</username>
  <privateKey>${user.home}/.ssh/id_rsa</privateKey>
  <filePermissions>664</filePermission>
  <directoryPermissions>775</directoryPermissions>
  <configuration></configuration>
</server>

To deploy the site from Hudson https://hudson.eclipse.org/egit/
enable the Maven profile "build-server".

Change-Id: I7e64c8560ca75196d2232f111ffad953c14f013f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoGenerate javadocs as part of Maven site project reports 91/33891/1
Matthias Sohn [Thu, 25 Sep 2014 09:17:40 +0000 (11:17 +0200)]
Generate javadocs as part of Maven site project reports

see http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html

Change-Id: I6dc5dddea0adbb4abf5560d5d1c833408e944082
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoCompare API changes with clirr against 3.4.1 90/33890/1
Matthias Sohn [Thu, 25 Sep 2014 09:15:57 +0000 (11:15 +0200)]
Compare API changes with clirr against 3.4.1

Change-Id: I76dcbb763984e7a7a526e29ec379d1f923b4253f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago[cli] Use chaining credentials provider to enable .netrc 99/33799/3
Matthias Sohn [Tue, 23 Sep 2014 22:06:48 +0000 (00:06 +0200)]
[cli] Use chaining credentials provider to enable .netrc

If available use credentials in .netrc otherwise prompt the user
if jgit command line needs credentials for remote operations.

Change-Id: Iea1f595618edfb87a37137db08bac8ca2d500ebc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoAdd chaining credentials provider 33/33733/4
Matthias Sohn [Wed, 17 Sep 2014 21:30:46 +0000 (23:30 +0200)]
Add chaining credentials provider

The chaining credentials provider sequentially tries to obtain
credentials from a list of credential providers and returns the
credentials from the first provider which can provide them.

Change-Id: I499f304119d7066d011dbde3556dee6facee8ab0
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFixed API violation errors for 3.6 in ConfigConstants 13/33813/2
Andrey Loskutov [Wed, 24 Sep 2014 09:18:49 +0000 (11:18 +0200)]
Fixed API violation errors for 3.6 in ConfigConstants

Change-Id: Ibeb09eb23d47412fa93493bb4e81d24d437e31bc
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
10 years ago[Java 8] Configure doclint to accept missing descriptions 34/33734/2
Matthias Sohn [Mon, 22 Sep 2014 22:27:46 +0000 (00:27 +0200)]
[Java 8] Configure doclint to accept missing descriptions

We avoid trivial descriptions in JavaDoc. Hence configure
doclint to not fail on missing descriptions.

Change-Id: Iba3d5aec18cc7d7f43e53fa6789f0dede9996fb7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoAdd "aggressive" option to GC 03/33503/4
Christian Halstrick [Wed, 17 Sep 2014 13:57:25 +0000 (15:57 +0200)]
Add "aggressive" option to GC

JGit should offer the possibility to do a garbage collection in
"aggressive" mode. In this mode garbage collection more aggressively
optimize the repository at the expense of taking much more time.
Technically a aggressive mode garbage collection differs from a
non-aggressive one by:
- not reusing packed objects found in old packs. Recompress every object
- the configuration pack.window is set to 250 (the default is 10)
- the configuration pack.depths is set to 250 (the default is 50)

The associated classes in org.eclipse.jgit.api and the command line
command in org.eclipse.jgit.pgm expose this new option.

The configuration parameters gc.aggressiveDepth and gc.aggressiveWindow
have been introduced to configure this feature.

Bug: 444332
Change-Id: I024101f2810acf6be13ce144c9893d98f5c4ae76

10 years agoDo not use .netrc implicitly if no CredentialsProvider was set 10/33510/1
Matthias Sohn [Wed, 17 Sep 2014 13:16:55 +0000 (15:16 +0200)]
Do not use .netrc implicitly if no CredentialsProvider was set

Do not silently set the NetRCCredentialsProvider if no
CredentialsProvider was set explicitly since applications may want to
have full control which provider should be used.

Bug: 444338
Change-Id: Ie096983bc1caa90443a504d302bfea8f2d26ab9e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPackIndexV1 should check for possible corruption 54/33054/1
Marc Strapetz [Mon, 8 Sep 2014 15:02:33 +0000 (17:02 +0200)]
PackIndexV1 should check for possible corruption

Change-Id: I1dd741d3e522e396950c30d2f96e9713d0439078
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
10 years agoPrepare post 3.5.0-rc1 builds 14/33014/1
Matthias Sohn [Sun, 7 Sep 2014 23:01:31 +0000 (01:01 +0200)]
Prepare post 3.5.0-rc1 builds

Change-Id: Id9e01b867bff0ed10e887c15a12e5399b788b68e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoJGit 3.5.0.201409071800-rc1 11/33011/1 v3.5.0.201409071800-rc1
Matthias Sohn [Sun, 7 Sep 2014 21:58:44 +0000 (23:58 +0200)]
JGit 3.5.0.201409071800-rc1

Change-Id: I59e5e2492820da111df1837fbf3649a2ae03841c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoFix the ls-remote command when there is no local repo 93/32993/1
Robin Rosenberg [Fri, 6 Jun 2014 19:18:16 +0000 (21:18 +0200)]
Fix the ls-remote command when there is no local repo

Bug: 436695
Change-Id: I567f9a8e355c7624efa3efc9bac4f3b9015afa97
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPrepare 3.6.0-SNAPSHOT builds 24/32924/1
Matthias Sohn [Thu, 4 Sep 2014 15:06:48 +0000 (17:06 +0200)]
Prepare 3.6.0-SNAPSHOT builds

Change-Id: I2d8c3768998c0cfc8d02d11009bc5b7ed1d75778
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoPackWriter: Report more stats during partial writes 83/32883/1
Shawn Pearce [Thu, 4 Sep 2014 19:41:24 +0000 (12:41 -0700)]
PackWriter: Report more stats during partial writes

It can be useful for a server operator to know how long a pack
writer spent writing out objects, even if the request aborts and
never finishes.

Record more of the stats data inside of a finally block, to
ensure these can be included into the server's monitoring.

Change-Id: I00858aa393a948f8e742e64ae4c00953eadaef95

10 years agoUpdate the README with current modules and features 52/29952/3
Robin Rosenberg [Tue, 15 Jul 2014 23:53:50 +0000 (01:53 +0200)]
Update the README with current modules and features

Change-Id: Ic30f55f30ce260dc02c428e1ebf11f01cb790a6e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoDrop warnings about unchecked casts in a few stable select places 51/29951/3
Robin Rosenberg [Tue, 15 Jul 2014 09:37:10 +0000 (11:37 +0200)]
Drop warnings about unchecked casts in a few stable select places

Change-Id: Ie163a4940f0d13bbdefd8c4643c0944c71800544

10 years agoHide warnings about field hiding in the MyersDiff code 50/29950/3
Robin Rosenberg [Tue, 15 Jul 2014 09:36:01 +0000 (11:36 +0200)]
Hide warnings about field hiding in the MyersDiff code

Just suppress warning in this stable code rather then fixing names

Change-Id: I07580aa3cbdaa66852a5c919769bbd9020d78703

10 years agoFix warnings about missing serialVersionUID 49/29949/3
Robin Rosenberg [Tue, 15 Jul 2014 09:33:58 +0000 (11:33 +0200)]
Fix warnings about missing serialVersionUID

Use @SuppressWarnings since these are private classes

Change-Id: Ic8e4c08b70627a3f9b031e2474092e1ce8116f22

10 years agoFix warning about missing serialVersionUID 48/29948/3
Robin Rosenberg [Tue, 15 Jul 2014 09:32:45 +0000 (11:32 +0200)]
Fix warning about missing serialVersionUID

Change-Id: Ia9532d1aaf92df9073c85c44ff2ca94796deefc2

10 years agoRename local variables/parameters to remove warnings about hiding 47/29947/3
Robin Rosenberg [Tue, 15 Jul 2014 09:32:23 +0000 (11:32 +0200)]
Rename local variables/parameters to remove warnings about hiding

Change-Id: I73f38492b6a2e7fd6e77005efd0a8a8c65763e74

10 years agoRemove non-existing source directories from Java 7 test build 44/29944/3
Robin Rosenberg [Tue, 15 Jul 2014 09:27:21 +0000 (11:27 +0200)]
Remove non-existing source directories from Java 7 test build

This was a copy-artifact when the bundle was created. This chanhe
removed some warnings in Eclipse.

Change-Id: I32acdf4b60bf5528566e66b1fd82113b1343ed37

10 years agoEliminate warnings for non-nls strings that will never be translated 42/29942/3
Robin Rosenberg [Tue, 15 Jul 2014 09:22:47 +0000 (11:22 +0200)]
Eliminate warnings for non-nls strings that will never be translated

Some of these eliminations just reduces the number of warnings on
lines where messages are constructed that can/will be translated.

Change-Id: I6eddb39ccc8f2488741bb58540d9ec5f5665e2c4

10 years agoWindows: Hide the .git directory if hidedotfiles is set to non-false 83/9383/48
Robin Rosenberg [Tue, 11 Feb 2014 00:06:27 +0000 (01:06 +0100)]
Windows: Hide the .git directory if hidedotfiles is set to non-false

Other .git files are not hidden with this patch

Change-Id: Idf63ca08d08f3a77c33f5848d02074f8d6a75758
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years agoAdd the resources directory to the Eclipse classpath 59/29959/3
Robin Rosenberg [Wed, 16 Jul 2014 07:41:40 +0000 (09:41 +0200)]
Add the resources directory to the Eclipse classpath

This removes a warning in Eclipse.

Change-Id: I5961ebf2052aff3e5d853451f69c7d75890ac53a