--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<component id="org.eclipse.jgit.pgm" version="2">
+ <resource path="src/org/eclipse/jgit/pgm/CLIText.java" type="org.eclipse.jgit.pgm.CLIText">
+ <filter id="1143996420">
+ <message_arguments>
+ <message_argument value="noSuchRemoteRef"/>
+ </message_arguments>
+ </filter>
+ </resource>
+</component>
* Returns a command object to find human-readable names of revisions.
*
* @return a {@link NameRevCommand}.
- * @since 2.3
+ * @since 3.0
*/
public NameRevCommand nameRev() {
return new NameRevCommand(repo);
/**
* Command to find human-readable names of revisions.
*
- * @see <a href="http://www.kernel.org/pub/software/scm/git/docs/git-name-rev.html"
+ * @see <a
+ * href="http://www.kernel.org/pub/software/scm/git/docs/git-name-rev.html"
* >Git documentation about name-rev</a>
+ * @since 3.0
*/
public class NameRevCommand extends GitCommand<Map<ObjectId, String>> {
/** Amount of slop to allow walking past the earliest requested commit. */
/**
* Exception thrown if a merge fails because no merge base could be determined.
+ *
+ * @since 3.0
*/
public class NoMergeBaseException extends IOException {
private static final long serialVersionUID = 1L;
*
* @param otp
* the object whose current representation is no longer present.
+ * @since 3.0
*/
public StoredObjectRepresentationNotAvailableException(ObjectToPack otp) {
// Do nothing.
import org.eclipse.jgit.internal.storage.file.PackBitmapIndex;
-/** A compressed bitmap representation of the entire object graph. */
+/**
+ * A compressed bitmap representation of the entire object graph.
+ *
+ * @since 3.0
+ */
public interface BitmapIndex {
/**
* Get the bitmap for the id. The returned bitmap is immutable and the
package org.eclipse.jgit.lib;
-/** Base object type accessed during bitmap expansion. */
+/**
+ * Base object type accessed during bitmap expansion.
+ *
+ * @since 3.0
+ */
public abstract class BitmapObject {
/**
* Get Git object type. See {@link Constants}.
/** The "ff" key */
public static final String CONFIG_KEY_FF = "ff";
- /** The "checkstat" key */
+ /**
+ * The "checkstat" key
+ * @since 3.0
+ */
public static final String CONFIG_KEY_CHECKSTAT = "checkstat";
}
/**
* Permissible values for {@code core.checkstat}
*
- * @since 2.3
+ * @since 3.0
*/
public static enum CheckStat {
/**
*
* @param avoid
* true to avoid unreachable objects.
+ * @since 3.0
*/
public void setAvoidUnreachableObjects(boolean avoid) {
// Do nothing by default.
* @return the index or null if one does not exist.
* @throws IOException
* when the index fails to load
+ * @since 3.0
*/
public BitmapIndex getBitmapIndex() throws IOException {
return null;
/**
* @return true if the repository is currently in a rebase
- * @since 2.4
+ * @since 3.0
*/
public abstract boolean isRebasing();
/**
* A three-way merge strategy performing a content-merge if necessary
+ *
+ * @since 3.0
*/
public class StrategyRecursive extends StrategyResolve {
* queue, especially if we reached it by more than one path.
* <p>
* This is a static flag. Its RevWalk is not available.
+ *
+ * @since 3.0
*/
public static final RevFlag SEEN = new StaticRevFlag("SEEN", RevWalk.SEEN);
* @throws IOException
* the repository could not be accessed to configure the rest of
* the builder's parameters.
+ * @since 3.0
*/
@Override
public Repository build() throws IOException {
* @param rc
* configuration to read properties from.
* @return {@code this}.
+ * @since 3.0
*/
public WindowCacheConfig fromConfig(final Config rc) {
setPackedGitOpenFiles(rc.getInt(
* The new configuration is applied immediately. If the new limits are
* smaller than what what is currently cached, older entries will be purged
* as soon as possible to allow the cache to meet the new limit.
+ *
+ * @since 3.0
*/
public void install() {
WindowCache.reconfigure(this);
/**
* Configuration used by a pack writer when constructing the stream.
- *
+ *
* A configuration may be modified once created, but should not be modified
* while it is being used by a PackWriter. If a configuration is not modified it
* is safe to share the same configuration instance between multiple concurrent
* Default value of the build bitmaps option: {@value}
*
* @see #setBuildBitmaps(boolean)
+ * @since 3.0
*/
public static final boolean DEFAULT_BUILD_BITMAPS = true;
*
* @return true if delta base is the writer can choose to output an index
* with bitmaps.
+ * @since 3.0
*/
public boolean isBuildBitmaps() {
return buildBitmaps;
* @param buildBitmaps
* boolean indicating whether bitmaps may be included in the
* index.
+ * @since 3.0
*/
public void setBuildBitmaps(boolean buildBitmaps) {
this.buildBitmaps = buildBitmaps;
*
* @param stats
* the statistics after sending a pack to the client.
+ * @since 3.0
*/
public void onPackStatistics(PackWriter.Statistics stats);
}
* Option to only delete empty directories. This option can be combined with
* {@link #RECURSIVE}
*
- * @since 2.4
+ * @since 3.0
*/
public static final int EMPTY_DIRECTORIES_ONLY = 16;
* the new {@code File}
* @throws IOException
* if the rename has failed
+ * @since 3.0
*/
public static void rename(final File src, final File dst)
throws IOException {
* position and the next 7 bytes after it (for a total of 8
* bytes) will be read.
* @return signed integer value that matches the 64 bits read.
+ * @since 3.0
*/
public static long decodeInt64(final byte[] intbuf, final int offset) {
long r = intbuf[offset] << 8;