diff --git a/doc/release-notes/NEXT.md b/doc/release-notes/NEXT.md index fa07c3a1..879ae43c 100644 --- a/doc/release-notes/NEXT.md +++ b/doc/release-notes/NEXT.md @@ -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 diff --git a/src/GitTfs/Core/GitTfsRemote.cs b/src/GitTfs/Core/GitTfsRemote.cs index 15bb1cb4..d0c7ded3 100644 --- a/src/GitTfs/Core/GitTfsRemote.cs +++ b/src/GitTfs/Core/GitTfsRemote.cs @@ -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;