Skip to content

Commit

Permalink
Removed empty element in filenames list
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardoso committed Apr 23, 2012
1 parent 2a20590 commit 955b0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git/lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def branch_current

def show_filenames(sha)
arr = []
command_lines('show', ['--pretty="format:"', '--name-only', sha])
command_lines('show', ['--pretty="format:"', '--name-only', sha]).drop(1)
end

# returns hash
Expand Down

0 comments on commit 955b0b6

Please sign in to comment.