diff options
author | Kevin Sawicki <kevin@github.com> | 2011-12-19 09:38:11 -0800 |
---|---|---|
committer | Chris Aniszczyk <zx@twitter.com> | 2011-12-28 10:33:14 -0600 |
commit | 92c6f2f97bb478ac0d4731cacafaef52ac0d08d7 (patch) | |
tree | 211b11ae74bf4116cc12b30db6d80e256e671cd0 /org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java | |
parent | 3c7dceec1a7dc367a3e716331bacc37b74e3f6e0 (diff) | |
download | jgit-92c6f2f97bb478ac0d4731cacafaef52ac0d08d7.tar.gz jgit-92c6f2f97bb478ac0d4731cacafaef52ac0d08d7.zip |
Add comand support for git-submodule
Adds the following commands:
- Add
- Init
- Status
- Sync
- Update
This also updates AddCommand so that file patterns added that
are submodules can be staged in the index.
Change-Id: Ie5112aa26430e5a2a3acd65a7b0e1d76067dc545
Signed-off-by: Kevin Sawicki <kevin@github.com>
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java index 1d77cc174f..6621e54c5a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java @@ -328,6 +328,9 @@ public final class Constants { /** Name of the ignore file */ public static final String DOT_GIT_IGNORE = ".gitignore"; + /** Name of the submodules file */ + public static final String DOT_GIT_MODULES = ".gitmodules"; + /** * Create a new digest function for objects. * |