diff options
author | yunjieli <yunjieli@google.com> | 2022-03-28 14:47:02 -0700 |
---|---|---|
committer | yunjieli <yunjieli@google.com> | 2022-04-13 10:21:20 -0700 |
commit | eca101fc0570e739cc722bf2977973ac2a4ce147 (patch) | |
tree | e651226f4908b538bd83a5e1ed32d8a5ad70d053 /org.eclipse.jgit/resources/org/eclipse/jgit | |
parent | 68a07258960b13f465b61eb0dd06208034c85cc1 (diff) | |
download | jgit-eca101fc0570e739cc722bf2977973ac2a4ce147.tar.gz jgit-eca101fc0570e739cc722bf2977973ac2a4ce147.zip |
Fetch: Introduce negative refspecs.
Implement negative refspecs in JGit fetch, following C Git. Git
supports negative refspecs in source only while this change supports
them in both source and destination.
If one branch is equal to any branch or matches any pattern in the
negative refspecs collection, the branch will not be fetched even if
it's in the toFetch collection.
With this feature, users can express more complex patterns during fetch.
Change-Id: Iaa1cd4de5c08c273e198b72e12e3dadae7be709f
Sign-off-by: Yunjie Li<yunjieli@google.com>
Diffstat (limited to 'org.eclipse.jgit/resources/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 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 e6f4e65e70..9f264fca34 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -393,6 +393,7 @@ invalidLineInConfigFileWithParam=Invalid line in config file: {0} invalidModeFor=Invalid mode {0} for {1} {2} in {3}. invalidModeForPath=Invalid mode {0} for path {1} invalidNameContainsDotDot=Invalid name (contains ".."): {0} +invalidNegativeAndForce= RefSpec can't be negative and forceful. invalidObject=Invalid {0} {1}: {2} invalidOldIdSent=invalid old id sent invalidPacketLineHeader=Invalid packet line header: {0} |