diff options
author | Dave Borowitz <dborowitz@google.com> | 2016-04-19 09:24:18 -0400 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2016-04-19 10:01:57 -0400 |
commit | a37d85ccd634f01b8ca6604962a345f7b50c87bc (patch) | |
tree | fb2727dfeb3400da9176cd1b7e9c505f35641ea0 /org.eclipse.jgit/resources/org | |
parent | 32156fda0bcf63d4eba53220ff2b2bc1052a1725 (diff) | |
download | jgit-a37d85ccd634f01b8ca6604962a345f7b50c87bc.tar.gz jgit-a37d85ccd634f01b8ca6604962a345f7b50c87bc.zip |
Support per-BatchRefUpdate atomic transactions
Repurpose RefDatabase#performsAtomicTransactions() slightly, to
indicate that the backend _supports_ atomic transactions, rather than
the current definition, which is that the backend always _uses_ atomic
transactions regardless of whether or not the caller actually wants
them. Allow BatchRefUpdate callers to turn off atomic transactions by
calling setAtomic(false). Defaulting to true means this is backwards
compatible.
Change-Id: I6df78d7df65ab147b4cce7764bd3101db985491c
Diffstat (limited to 'org.eclipse.jgit/resources/org')
-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 992e10bad6..a99bd7e911 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -21,6 +21,7 @@ atLeastOnePathIsRequired=At least one path is required. atLeastOnePatternIsRequired=At least one pattern is required. atLeastTwoFiltersNeeded=At least two filters needed. atomicPushNotSupported=Atomic push not supported. +atomicRefUpdatesNotSupported=Atomic ref updates not supported authenticationNotSupported=authentication not supported badBase64InputCharacterAt=Bad Base64 input character at {0} : {1} (decimal) badEntryDelimiter=Bad entry delimiter |