Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set PAGER / GIT_PAGER to 'cat' globally (thanks Samium Gromoff)

  • Loading branch information...
commit bf4f1baa38d83d5d49ea0f63b46e22989bd7ee9a 1 parent 11ffabe
@purcell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  darcs-to-git
View
2  darcs-to-git
@@ -299,7 +299,6 @@ class DarcsPatch
ENV['GIT_AUTHOR_NAME'] = ENV['GIT_COMMITTER_NAME'] = git_author_name
ENV['GIT_AUTHOR_EMAIL'] = ENV['GIT_COMMITTER_EMAIL'] = git_author_email
ENV['GIT_AUTHOR_DATE'] = ENV['GIT_COMMITTER_DATE'] = date
- ENV['GIT_PAGER'] = ENV['PAGER'] = "cat" # so that pager of git-log doesn't halt conversion
if is_tag
run("git", "tag", "-a", "-m", git_commit_message, git_tag_name)
else
@@ -393,6 +392,7 @@ end
# -------------------------------------------------------------------------------
# Initialise the working area
# -------------------------------------------------------------------------------
+ENV['GIT_PAGER'] = ENV['PAGER'] = "cat" # so that pager of git-log doesn't halt conversion
unless File.directory?("_darcs")
puts "Initialising the working area."

0 comments on commit bf4f1ba

Please sign in to comment.
Something went wrong with that request. Please try again.