Skip to content

Commit

Permalink
v 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Finkel committed Jan 30, 2012
1 parent 5b05a9c commit 60a5e2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/git-blame-game/git_blame_game.rb
Expand Up @@ -5,7 +5,7 @@ def initialize(path_to_file, opts={})
end

def run
while true
loop do
p_flush("\n")

sha_to_show = show_git_blame_and_prompt_for_sha
Expand All @@ -28,7 +28,7 @@ def show_git_blame_and_prompt_for_sha
end

def prompt_for_sha(shas)
while true
loop do
input = $stdin.gets.strip
# sha was entered, return it:
return input if shas.include? input
Expand Down Expand Up @@ -66,7 +66,7 @@ def get_sha_list(git_blame_out)
def prompt_for_file(files_changed, sha)
print_file_prompt(files_changed, sha)

while true
loop do
input = $stdin.gets.strip
if input == 'q'
p_flush "\n" + color("The responsible commit is:") + "\n\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/git-blame-game/version.rb
@@ -1,7 +1,7 @@
module Git
module Blame
module Game
VERSION = "0.0.1"
VERSION = "0.1.0"
end
end
end

0 comments on commit 60a5e2f

Please sign in to comment.