diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2018-03-15 15:56:50 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-06-04 22:08:18 -0700 |
commit | f7e501c36c83c9e7a516d154ee96afd12cbc0498 (patch) | |
tree | 0ade3c8b6518f87c2a2183e75429fb68f7a15511 /org.eclipse.jgit/resources/org | |
parent | cd0d69ffec9eedff24a2692d18024e752cadc7c8 (diff) | |
download | jgit-f7e501c36c83c9e7a516d154ee96afd12cbc0498.tar.gz jgit-f7e501c36c83c9e7a516d154ee96afd12cbc0498.zip |
Teach UploadPack shallow fetch in protocol v2
Add support for the "shallow" and "deepen" parameters in the "fetch"
command in the fetch-pack/upload-pack protocol v2. Advertise support for
this in the capability advertisement.
TODO: implement deepen-relative, deepen-since, deepen-not
Change-Id: I7ffd80d6c38872f9d713ac7d6e0412106b3766d7
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit/resources/org')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index f17391cfd8..b608ca8533 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -224,6 +224,8 @@ credentialPassword=Password credentialUsername=Username daemonAlreadyRunning=Daemon already running daysAgo={0} days ago +deepenNotWithDeepen=Cannot combine deepen with deepen-not +deepenSinceWithDeepen=Cannot combine deepen with deepen-since deleteBranchUnexpectedResult=Delete branch returned unexpected result {0} deleteFileFailed=Could not delete file {0} deleteRequiresZeroNewId=Delete requires new ID to be zero @@ -395,6 +397,7 @@ invalidStageForPath=Invalid stage {0} for path {1} invalidSystemProperty=Invalid system property ''{0}'': ''{1}''; using default value {2} invalidTagOption=Invalid tag option: {0} invalidTimeout=Invalid timeout: {0} +invalidTimestamp=Invalid timestamp in {0} invalidTimeUnitValue2=Invalid time unit value: {0}.{1}={2} invalidTimeUnitValue3=Invalid time unit value: {0}.{1}.{2}={3} invalidTreeZeroLengthName=Cannot append a tree entry with zero-length name |