Ignore not init branches (#1189)
ignore-not-init-branches's value is not longer case sensitive. True, true, False, False etc are all valid.
This commit is contained in:
committed by
Philippe Miossec
parent
4df6b97d73
commit
dfb0aef0ac
@@ -1 +1,2 @@
|
||||
* Pick up labels that don't have the branch folder specifically listed (#1125)
|
||||
* ignore-not-init-branches value is not longer case sensitive
|
||||
|
||||
@@ -631,7 +631,8 @@ namespace GitTfs.Core
|
||||
}
|
||||
}
|
||||
|
||||
if (mergeChangeset && tfsBranch != null && Repository.GetConfig(GitTfsConstants.IgnoreNotInitBranches) == true.ToString())
|
||||
if (mergeChangeset && tfsBranch != null &&
|
||||
string.Equals(Repository.GetConfig(GitTfsConstants.IgnoreNotInitBranches), true.ToString(), StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
Trace.TraceInformation("warning: skip not initialized branch for path " + tfsBranch.Path);
|
||||
tfsRemote = null;
|
||||
|
||||
Reference in New Issue
Block a user