diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-03-24 10:26:44 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-06-11 12:24:12 +0200 |
commit | b6f954ad426f91561b4aa09d7ba23652516e7b0a (patch) | |
tree | 2e17a47047fc0ef2b48aea04b6b1bbbeaa404569 /org.eclipse.jgit.pgm/resources | |
parent | 325b51dbd4ada37ab8890f38f2bbc046ee9bb92e (diff) | |
download | jgit-b6f954ad426f91561b4aa09d7ba23652516e7b0a.tar.gz jgit-b6f954ad426f91561b4aa09d7ba23652516e7b0a.zip |
Fetch: Add --recurse-submodules and --no-recurse-submodules options
Add options to control recursion into submodules on fetch.
Add a callback interface on FetchCommand, to allow Fetch to display
an update "Fetching submodule XYZ" for each submodule.
Change-Id: Id805044b57289ee0f384b434aba1dbd2fd317e5b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/resources')
-rw-r--r-- | org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties b/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties index d8c3329695..c3d7c685ff 100644 --- a/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties +++ b/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties @@ -67,12 +67,14 @@ failedToLockIndex=failed to lock index failedToLockTag=Failed to lock tag {0}: {1} fatalError=fatal: {0} fatalThisProgramWillDestroyTheRepository=fatal: This program will destroy the repository\nfatal:\nfatal:\nfatal: {0}\nfatal:\nfatal: To continue, add {1} to the command line\nfatal: +fetchingSubmodule=Fetching submodule {0} fileIsRequired=argument file is required ffNotPossibleAborting=Not possible to fast-forward, aborting. forcedUpdate=forced update fromURI=From {0} initializedEmptyGitRepositoryIn=Initialized empty Git repository in {0} invalidHttpProxyOnlyHttpSupported=Invalid http_proxy: {0}: Only http supported. +invalidRecurseSubmodulesMode=Invalid recurse submodules mode: {0} jgitVersion=jgit version {0} lineFormat={0} listeningOn=Listening on {0} @@ -359,6 +361,7 @@ usage_noCheckoutAfterClone=no checkout of HEAD is performed after the clone is c usage_noCommit=Don't commit after a successful merge usage_noPrefix=do not show any source or destination prefix usage_noRenames=disable rename detection +usage_noRecurseSubmodules=Disable recursive fetching of submodules (this has the same effect as using the --recurse-submodules=no option) usage_noShowStandardNotes=Disable showing notes from the standard /refs/notes/commits branch usage_onlyMatchAgainstAlreadyTrackedFiles=Only match <filepattern> against already tracked files in the index rather than the working tree usage_outputFile=Output file |