]> source.dussan.org Git - jgit.git/commit
Support for Submodule configuration submodule.<name>.ignore 25/35125/3
authorChristian Halstrick <christian.halstrick@sap.com>
Fri, 17 Oct 2014 07:58:39 +0000 (09:58 +0200)
committerStefan Lay <stefan.lay@sap.com>
Mon, 3 Nov 2014 09:32:03 +0000 (04:32 -0500)
commit95172dea173425697814e3ba0b4eb823301bf7d0
treeae756d314fcc9962402ca2a20896e59b64347007
parent2f5a08798eb29e8141c452c0dc2622bc8fe90dd0
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
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/IndexDiffSubmoduleTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java
org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java