diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2012-12-06 07:46:03 +0400 |
---|---|---|
committer | Keith Dahlby <dahlbyk@gmail.com> | 2012-12-06 07:46:03 +0400 |
commit | 30b554cdc5e3a6e00ffd445332630426205ac3cc (patch) | |
tree | 9ad8bbcd1d8cbd1c8b8e199cbf67a41dce424214 /LibGit2Sharp/DetachedHead.cs | |
parent | 5800408776c88780331f9e531a1523eaee5054d4 (diff) |
Fix TrackedBranch property on DetachedHead branches
Diffstat (limited to 'LibGit2Sharp/DetachedHead.cs')
-rw-r--r-- | LibGit2Sharp/DetachedHead.cs | 9 |
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; } } } } |