| 614 | } |
| 615 | |
| 616 | func sayFixUncommittedChanges(configuration config.Configuration) { |
| 617 | var instructionInclude string |
| 618 | var instructionDiscard string |
| 619 | if configuration.StartCreate { |
| 620 | instructionInclude = "To start, including uncommitted changes and create the remote branch, use" |
| 621 | instructionDiscard = "To start, discarding uncommitted changes and create the remote branch, use" |
| 622 | } else { |
| 623 | instructionInclude = "To start, including uncommitted changes, use" |
| 624 | instructionDiscard = "To start, discarding uncommitted changes, use" |
| 625 | } |
| 626 | |
| 627 | fixCommandStart := configuration.CliName + " start" + createFix(configuration) + branchFix(configuration) |
| 628 | fixCommandInclude := fixCommandStart + " --include-uncommitted-changes" |
| 629 | fixCommandDiscard := fixCommandStart + " --discard-uncommitted-changes" |
| 630 | |
| 631 | say.Fix(instructionInclude, fixCommandInclude) |
| 632 | say.Fix(instructionDiscard, fixCommandDiscard) |
| 633 | } |
| 634 | |
| 635 | func createFix(configuration config.Configuration) string { |
| 636 | if configuration.StartCreate { |