diff options
author | Jameson Miller <jamill@microsoft.com> | 2012-12-01 02:31:44 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-12-06 02:33:29 +0400 |
commit | 5800408776c88780331f9e531a1523eaee5054d4 (patch) | |
tree | 544706aa6c7797f1b43a3782da45d2ae57685b40 /LibGit2Sharp/DetachedHead.cs | |
parent | 597a237c5c740b6fae9a19fb244f4442c841d430 (diff) |
Fix IsTracking Property on DetachedHead branches
Diffstat (limited to 'LibGit2Sharp/DetachedHead.cs')
-rw-r--r-- | LibGit2Sharp/DetachedHead.cs | 13 |
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 +} |