[EGIT PATCH 1/7 v3] Add constant for "refs/"
- From
Robin Rosenberg <robin.rosenberg@dewire.com>
- Date
- Nov 14, 2008, 23:24 UTC
- Message-ID
- <1226705099-18066-1-git-send-email-robin.rosenberg@dewire.com>
- In-Reply-To
- <20081111183248.GR2932@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> --- .../src/org/spearce/jgit/lib/Constants.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Here's an update after considering Shawn's comments. 1,2,3 are just reordered. No 4 and 5 are changed. For patch no 6 and 7 use the ones from the previous batch.
-- robin
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java b/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java index f316881..9613d07 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java +++ b/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java @@ -216,6 +216,9 @@ /** Prefix for tag refs */ public static final String R_TAGS = "refs/tags/"; + /** Prefix for any ref */ + public static final String R_REFS = "refs/"; + /** Logs folder name */ public static final String LOGS = "logs";
-- 1.6.0.3.640.g6331a.dirty