Skip to content

Commit 2a622a7

Browse files
--no-color as default for log commands.
closes #48 closes #30
1 parent 2963082 commit 2a622a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ def log_common_options(opts)
712712
arr_opts = []
713713

714714
arr_opts << "-#{opts[:count]}" if opts[:count]
715+
arr_opts << "--no-color"
715716
arr_opts << "--since=#{opts[:since]}" if opts[:since].is_a? String
716717
arr_opts << "--until=#{opts[:until]}" if opts[:until].is_a? String
717718
arr_opts << "--grep=#{opts[:grep]}" if opts[:grep].is_a? String

0 commit comments

Comments
 (0)