Uses of Class
org.eclipse.jgit.transport.RefSpec
Packages that use RefSpec
Package
Description
High-level API commands (the porcelain of JGit).
Core API for repository, config, refs, object database.
Transport (fetch/push) for different protocols.
-
Uses of RefSpec in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api with type parameters of type RefSpecMethods in org.eclipse.jgit.api that return types with arguments of type RefSpecModifier and TypeMethodDescriptionFetchCommand.applyOptions
(List<RefSpec> refSpecs2) CloneCommand.calculateRefSpecs
(CloneCommand.FETCH_TYPE type, String remoteName) FetchCommand.getRefSpecs()
Get list ofRefSpec
sPushCommand.getRefSpecs()
GetRefSpec
s.Methods in org.eclipse.jgit.api with parameters of type RefSpecModifier and TypeMethodDescriptionFetchCommand.setRefSpecs
(RefSpec... specs) The ref specs to be used in the fetch operationPushCommand.setRefSpecs
(RefSpec... specs) The ref specs to be used in the push operationMethod parameters in org.eclipse.jgit.api with type arguments of type RefSpecModifier and TypeMethodDescriptionFetchCommand.applyOptions
(List<RefSpec> refSpecs2) FetchCommand.setRefSpecs
(List<RefSpec> specs) The ref specs to be used in the fetch operationPushCommand.setRefSpecs
(List<RefSpec> specs) The ref specs to be used in the push operation -
Uses of RefSpec in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return types with arguments of type RefSpecModifier and TypeMethodDescriptionConfig.getRefSpecs
(String section, String subsection, String name) Parse a list ofRefSpec
s from the configuration.DefaultTypedConfigGetter.getRefSpecs
(Config config, String section, String subsection, String name) TypedConfigGetter.getRefSpecs
(Config config, String section, String subsection, String name) -
Uses of RefSpec in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm with type parameters of type RefSpec -
Uses of RefSpec in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type RefSpecModifierConstructorDescriptionRefSpecHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super RefSpec> setter) Create a new handler for the command name. -
Uses of RefSpec in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as RefSpecModifier and TypeFieldDescriptionstatic final RefSpec
Transport.REFSPEC_PUSH_ALL
Specification for push operation, to push all refs under refs/heads.static final RefSpec
Transport.REFSPEC_TAGS
Specification for fetch or push operations, to fetch or push all tags.Fields in org.eclipse.jgit.transport with type parameters of type RefSpecModifier and TypeFieldDescriptionRemoteConfig.fetch
Transport.fetch
Specifications to apply during fetch.private Collection<RefSpec>
RemoteRefUpdate.fetchSpecs
If set, the RemoteRefUpdate is a placeholder for the "matching" RefSpec to be expanded after the advertisements have been received in a push.RemoteConfig.push
Transport.push
Specifications to apply during push.private final Collection<RefSpec>
FetchProcess.toFetch
List of things we want to fetch from the remote repository.Methods in org.eclipse.jgit.transport that return RefSpecModifier and TypeMethodDescriptionRefSpec.expandFromDestination
(String r) Expand this specification to exactly match a ref name.RefSpec.expandFromDestination
(Ref r) Expand this specification to exactly match a ref.private RefSpec
RefSpec.expandFromDstImp
(String name) RefSpec.expandFromSource
(String r) Expand this specification to exactly match a ref name.RefSpec.expandFromSource
(Ref r) Expand this specification to exactly match a ref.private RefSpec
RefSpec.expandFromSourceImp
(String name) RefSpec.setDestination
(String destination) Create a new RefSpec with a different destination name setting.RefSpec.setForceUpdate
(boolean forceUpdate) Create a new RefSpec with a different force update setting.Create a new RefSpec with a different source name setting.RefSpec.setSourceDestination
(String source, String destination) Create a new RefSpec with a different source/destination name setting.Methods in org.eclipse.jgit.transport that return types with arguments of type RefSpecModifier and TypeMethodDescriptionprivate static Collection<RefSpec>
Transport.expandPushWildcardsFor
(Repository db, Collection<RefSpec> specs) RemoteConfig.getFetchRefSpecs()
Remembered specifications for fetching from a repository.(package private) Collection<RefSpec>
RemoteRefUpdate.getFetchSpecs()
Retrieves the fetchRefSpec
s of thisRemoteRefUpdate
.RemoteConfig.getPushRefSpecs()
Remembered specifications for pushing to a repository.Methods in org.eclipse.jgit.transport with parameters of type RefSpecModifier and TypeMethodDescriptionboolean
RemoteConfig.addFetchRefSpec
(RefSpec s) Add a new fetch RefSpec to this remote.boolean
RemoteConfig.addPushRefSpec
(RefSpec s) Add a new push RefSpec to this remote.private TrackingRefUpdate
FetchProcess.createUpdate
(RefSpec spec, ObjectId newId) private void
FetchProcess.deleteTrackingRef
(FetchResult result, BatchRefUpdate batch, RefSpec spec, Ref localRef) private void
FetchProcess.expandSingle
(RefSpec spec, Set<Ref> matched) private void
FetchProcess.expandWildcard
(RefSpec spec, Set<Ref> matched) boolean
RemoteConfig.removeFetchRefSpec
(RefSpec s) Remove a fetch RefSpec from this remote.boolean
RemoteConfig.removePushRefSpec
(RefSpec s) Remove a push RefSpec from this remote.private void
Method parameters in org.eclipse.jgit.transport with type arguments of type RefSpecModifier and TypeMethodDescriptionprivate static Collection<RefSpec>
Transport.expandPushWildcardsFor
(Repository db, Collection<RefSpec> specs) Transport.fetch
(ProgressMonitor monitor, Collection<RefSpec> toFetch) Fetch objects and refs from the remote repository to the local one.Transport.fetch
(ProgressMonitor monitor, Collection<RefSpec> toFetch, String branch) Fetch objects and refs from the remote repository to the local one.Transport.findRemoteRefUpdatesFor
(Collection<RefSpec> specs) Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.Transport.findRemoteRefUpdatesFor
(Collection<RefSpec> specs, Map<String, RefLeaseSpec> leases) Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.static Collection<RemoteRefUpdate>
Transport.findRemoteRefUpdatesFor
(Repository db, Collection<RefSpec> specs, Collection<RefSpec> fetchSpecs) Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.static Collection<RemoteRefUpdate>
Transport.findRemoteRefUpdatesFor
(Repository db, Collection<RefSpec> specs, Map<String, RefLeaseSpec> leases, Collection<RefSpec> fetchSpecs) Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.(package private) static String
Transport.findTrackingRefName
(String remoteName, Collection<RefSpec> fetchSpecs) private FetchConnection
TransportHttp.getConnection
(HttpConnection c, InputStream in, String service, Collection<RefSpec> refSpecs, String... additionalPatterns) private Collection<String>
BasePackConnection.getRefPrefixes
(Collection<RefSpec> refSpecs, String... additionalPatterns) protected void
BasePackConnection.lsRefs
(Collection<RefSpec> refSpecs, String... additionalPatterns) Issue a protocol V2 ls-refs command and read its response.private void
BasePackConnection.lsRefsImpl
(Collection<RefSpec> refSpecs, String... additionalPatterns) Transport.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) Begins a new connection for fetching from the remote repository.TransportGitAnon.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportGitSsh.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportHttp.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportLocal.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) void
RemoteConfig.setFetchRefSpecs
(List<RefSpec> specs) Override existing fetch specifications with new ones.void
RemoteConfig.setPushRefSpecs
(List<RefSpec> specs) Override existing push specifications with new ones.Constructors in org.eclipse.jgit.transport with parameters of type RefSpecConstructor parameters in org.eclipse.jgit.transport with type arguments of type RefSpecModifierConstructorDescription(package private)
FetchProcess
(Transport t, Collection<RefSpec> f) (package private)
ForkLocalFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
RemoteRefUpdate
(Repository localDb, boolean forceUpdate, Collection<RefSpec> fetchSpecs) Creates a "placeholder" update for the "matching" RefSpec ":".private
RemoteRefUpdate
(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, Collection<RefSpec> fetchSpecs, ObjectId expectedOldObjectId) (package private)
SmartHttpFetchConnection
(InputStream advertisement, Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
SshFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
TcpFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns)