diff options
author | Mykola Nikishov <mn@mn.com.ua> | 2009-11-25 22:37:02 +0200 |
---|---|---|
committer | Mykola Nikishov <mn@mn.com.ua> | 2009-11-29 19:31:01 +0200 |
commit | 7eef835ad50971bf6ecc3fcff2ebd9558757c28f (patch) | |
tree | 756923d603cbb88e7895dfbac8ebbb438dde083f /org.eclipse.jgit/src | |
parent | 6f06be9bc29b5d6c21264be48316c65ade42df62 (diff) | |
download | jgit-7eef835ad50971bf6ecc3fcff2ebd9558757c28f.tar.gz jgit-7eef835ad50971bf6ecc3fcff2ebd9558757c28f.zip |
Replace a hard-coded default remote's name with a constant
Change-Id: I4e369382b8a83a5c0772462d1b176b1e23910ada
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java index 42f3debc2c..de1315957b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java @@ -258,6 +258,9 @@ public final class Constants { /** A gitignore file name */ public static final String GITIGNORE_FILENAME = ".gitignore"; + /** Default remote name used by clone, push and fetch operations */ + public static final String DEFAULT_REMOTE_NAME = "origin"; + /** * Create a new digest function for objects. * |