diff options
author | Saaman <romain.magny@gmail.com> | 2013-04-26 18:44:47 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-04-26 22:28:30 +0400 |
commit | 9593179686b85c03743a6c434c21ce8b60e422ad (patch) | |
tree | 06a714c6679a5f65c2f11da1ff5cbe9cbb5fe1fd /LibGit2Sharp/Reference.cs | |
parent | 718a99e982175e4baf44829740e8d614566e33b6 (diff) |
Refactor handling of reference prefixes
Diffstat (limited to 'LibGit2Sharp/Reference.cs')
-rw-r--r-- | LibGit2Sharp/Reference.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/LibGit2Sharp/Reference.cs b/LibGit2Sharp/Reference.cs index 8ec06b58..6ba98a11 100644 --- a/LibGit2Sharp/Reference.cs +++ b/LibGit2Sharp/Reference.cs @@ -160,6 +160,26 @@ namespace LibGit2Sharp return CanonicalName; } + internal static string LocalBranchPrefix + { + get { return "refs/heads/"; } + } + + internal static string RemoteTrackingBranchPrefix + { + get { return "refs/remotes/"; } + } + + internal static string TagPrefix + { + get { return "refs/tags/"; } + } + + internal static string NotePrefix + { + get { return "refs/notes/"; } + } + private string DebuggerDisplay { get |