Skip to content

Commit

Permalink
Merge pull request #3 from pvdb/improve_console_prompting
Browse files Browse the repository at this point in the history
Two changes to the way we prompt for user action
  • Loading branch information
pcreux committed Jul 12, 2012
2 parents 1a090ec + cef5d7a commit 9eb5cfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/git-branch-delete-orphans
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def cli(orphans)
keep = false
until delete || delete_all || keep || keep_all
puts ""
puts "#{b} tracks a remote branch which does not exist anymore. Do you want to [d]elete it, [D]elete all, [k]eep it or [K]eep all?"
puts "#{b} tracks a remote branch which does not exist anymore."
print "Do you want to [d]elete it, [D]elete all, [k]eep it or [K]eep all? "
case STDIN.gets.chomp
when 'd' then delete = true
when 'D' then delete_all = true
Expand Down

0 comments on commit 9eb5cfa

Please sign in to comment.