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:
authorKeith Dahlby <dahlbyk@gmail.com>2012-12-06 07:46:03 +0400
committerKeith Dahlby <dahlbyk@gmail.com>2012-12-06 07:46:03 +0400
commit30b554cdc5e3a6e00ffd445332630426205ac3cc (patch)
tree9ad8bbcd1d8cbd1c8b8e199cbf67a41dce424214 /LibGit2Sharp/DetachedHead.cs
parent5800408776c88780331f9e531a1523eaee5054d4 (diff)
Fix TrackedBranch property on DetachedHead branches
Diffstat (limited to 'LibGit2Sharp/DetachedHead.cs')
-rw-r--r--LibGit2Sharp/DetachedHead.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/LibGit2Sharp/DetachedHead.cs b/LibGit2Sharp/DetachedHead.cs
index a6ed30ec..ad1acaec 100644
--- a/LibGit2Sharp/DetachedHead.cs
+++ b/LibGit2Sharp/DetachedHead.cs
@@ -13,14 +13,11 @@
}
/// <summary>
- /// Determines if this local branch is connected to a remote one.
+ /// Gets the remote branch which is connected to this local one, or null if there is none.
/// </summary>
- public override bool IsTracking
+ public override Branch TrackedBranch
{
- get
- {
- return false;
- }
+ get { return null; }
}
}
}