]> source.dussan.org Git - jgit.git/commitdiff
Fix examples with refs/heads/ in RefSpec Javadoc 06/12006/2
authorRobin Stocker <robin@nibor.org>
Thu, 18 Apr 2013 08:55:23 +0000 (10:55 +0200)
committerChris Aniszczyk <zx@twitter.com>
Fri, 19 Apr 2013 15:14:39 +0000 (10:14 -0500)
Change-Id: I06c1c7242a1b4c8f499c27a598cca714803799b7
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java

index 53a7b02be36b356c386932a1ab8bf48f3b072b3f..9b38b293367a4bda4fca65a52dedb7d01d883a8d 100644 (file)
@@ -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