lib/caretaker.rb in caretaker-0.8.3 vs lib/caretaker.rb in caretaker-0.8.4

- old
+ new

@@ -249,11 +249,11 @@ # # Get the commit messages for child commits (pull requests) # def get_child_messages(parent) - return execute_command "git log --pretty=format:'%b' -n 1 #{parent}" + return execute_command "git --no-pager log --pretty=format:'%b' -n 1 #{parent}" end # # Process the username if we find out or if the @author variable is set # @@ -383,10 +383,10 @@ def log_to_hash docs = {} tag = '0' old_parent = '' - res = execute_command("git log --oneline --pretty=format:'%h|%H|%P|%d|%s|%cd'") + res = execute_command("git --no-pager log --oneline --pretty=format:'%h|%H|%P|%d|%s|%cd'") unless res.nil? res.each_line do |line| hash, hash_full, parent, refs, subject, date = line.split('|') parent = parent.split(' ')[0] tag = extract_tag(refs, tag).to_s