summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2013-04-18 10:55:23 +0200
committerChris Aniszczyk <zx@twitter.com>2013-04-19 10:14:39 -0500
commit2396bab3396ae3d7d99adeb5a81f32604deba825 (patch)
tree6d9d7636732f0a25ad7fb603395a8eba55cdd38c
parent1080cc5a0d67012c0ef08d9468fbbc9d90b0c238 (diff)
downloadjgit-2396bab3396ae3d7d99adeb5a81f32604deba825.tar.gz
jgit-2396bab3396ae3d7d99adeb5a81f32604deba825.zip
Fix examples with refs/heads/ in RefSpec Javadoc
Change-Id: I06c1c7242a1b4c8f499c27a598cca714803799b7 Signed-off-by: Chris Aniszczyk <zx@twitter.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java
index 53a7b02be3..9b38b29336 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
+ * Copyright (C) 2008, 2013 Shawn O. Pearce <spearce@spearce.org>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
@@ -106,13 +106,13 @@ public class RefSpec implements Serializable {
* <p>
* Specifications are typically one of the following forms:
* <ul>
- * <li><code>refs/head/master</code></li>
- * <li><code>refs/head/master:refs/remotes/origin/master</code></li>
- * <li><code>refs/head/*:refs/remotes/origin/*</code></li>
- * <li><code>+refs/head/master</code></li>
- * <li><code>+refs/head/master:refs/remotes/origin/master</code></li>
- * <li><code>+refs/head/*:refs/remotes/origin/*</code></li>
- * <li><code>:refs/head/master</code></li>
+ * <li><code>refs/heads/master</code></li>
+ * <li><code>refs/heads/master:refs/remotes/origin/master</code></li>
+ * <li><code>refs/heads/*:refs/remotes/origin/*</code></li>
+ * <li><code>+refs/heads/master</code></li>
+ * <li><code>+refs/heads/master:refs/remotes/origin/master</code></li>
+ * <li><code>+refs/heads/*:refs/remotes/origin/*</code></li>
+ * <li><code>:refs/heads/master</code></li>
* </ul>
*
* @param spec