bin/git-start in socialcast-git-extensions-2.2.1 vs bin/git-start in socialcast-git-extensions-2.2.2

- old
+ new

@@ -1,14 +1,13 @@ #!/usr/bin/env ruby #start a new git branch with latest changes from master require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') -include Socialcast +include Socialcast::Gitx +include Socialcast::Git -is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q") - unless branch_name = ARGV.first 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? (ex: #{example_branch})") {|q| @@ -21,6 +20,6 @@ run_cmd 'git checkout master' run_cmd 'git pull' run_cmd "git checkout -b #{branch_name}" -run_cmd "socialcast share '#worklog starting work on #{branch_name} #scgitx'" unless is_quiet +share "#worklog starting work on #{branch_name} #scgitx"