Skip to content

Commit

Permalink
Merge pull request #42 from tmak/master
Browse files Browse the repository at this point in the history
Prevent git log from using a pager
  • Loading branch information
rstacruz committed Aug 9, 2012
2 parents 2033592 + 91919e0 commit 54862bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mina/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
status = %[
echo "-----> Using this git commit" &&
echo &&
#{echo_cmd %[git log --format="%aN (%h):%n> %s" -n 1]} &&
#{echo_cmd %[git --no-pager log --format="%aN (%h):%n> %s" -n 1]} &&
#{echo_cmd %[rm -rf .git]} &&
echo
]
Expand Down

0 comments on commit 54862bd

Please sign in to comment.