bin/git-start in socialcast-git-extensions-2.0.4 vs bin/git-start in socialcast-git-extensions-2.0.5

- old
+ new

@@ -7,12 +7,13 @@ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q") tickets = tickets_from_arguments ARGV raise "JIRA ticket id is required to run this process" unless tickets.any? +example_branch = %w{ api-fix-invalid-auth desktop-cleanup-avatar-markup share-form-add-edit-link }.sort_by { rand }.first repo = Grit::Repo.new(Dir.pwd) remote_branches = repo.remotes.collect {|b| b.name.split('/').last } -until branch_name = HighLine.ask("What would you like to name your branch?") {|q| +until branch_name = HighLine.ask("What would you like to name your branch? (ex: #{example_branch})") {|q| q.validate = Proc.new { |branch| branch =~ /^[A-Za-z0-9\-_]+$/ && !remote_branches.include?(branch) } } end