Skip to content

Commit

Permalink
Added "bugfix" kind of branch
Browse files Browse the repository at this point in the history
Bugfix kind of branch added into LoadBaseBranch

Check changed on manageBaseBranch
  • Loading branch information
gpongelli committed Jul 10, 2017
1 parent 9ab005c commit a7f11be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Plugins/GitFlow/GitFlowForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public partial class GitFlowForm : GitExtensionsFormBase
enum Branch
{
feature,
bugfix,
hotfix,
release,
support
Expand Down Expand Up @@ -160,7 +161,7 @@ private void DisplayBranchDatas()
private void LoadBaseBranches()
{
var branchType = cbType.SelectedValue.ToString();
var manageBaseBranch = (branchType == Branch.feature.ToString("G") || branchType == Branch.hotfix.ToString("G") || branchType == Branch.support.ToString("G"));
var manageBaseBranch = branchType != Branch.release.ToString("G");
pnlBasedOn.Visible = manageBaseBranch;

if (manageBaseBranch)
Expand Down

0 comments on commit a7f11be

Please sign in to comment.