Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2012-12-01 02:31:44 +0400
committernulltoken <emeric.fermas@gmail.com>2012-12-06 02:33:29 +0400
commit5800408776c88780331f9e531a1523eaee5054d4 (patch)
tree544706aa6c7797f1b43a3782da45d2ae57685b40 /LibGit2Sharp/DetachedHead.cs
parent597a237c5c740b6fae9a19fb244f4442c841d430 (diff)
Fix IsTracking Property on DetachedHead branches
Diffstat (limited to 'LibGit2Sharp/DetachedHead.cs')
-rw-r--r--LibGit2Sharp/DetachedHead.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/LibGit2Sharp/DetachedHead.cs b/LibGit2Sharp/DetachedHead.cs
index 2756f451..a6ed30ec 100644
--- a/LibGit2Sharp/DetachedHead.cs
+++ b/LibGit2Sharp/DetachedHead.cs
@@ -11,5 +11,16 @@
{
return branchName;
}
+
+ /// <summary>
+ /// Determines if this local branch is connected to a remote one.
+ /// </summary>
+ public override bool IsTracking
+ {
+ get
+ {
+ return false;
+ }
+ }
}
-} \ No newline at end of file
+}