Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in use of --no-color arg to git

  • Loading branch information...
commit d31f52904412189b3b48cf296c9cd4b887139036 1 parent 5778297
@purcell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  darcs-to-git
View
2  darcs-to-git
@@ -238,7 +238,7 @@ class CommitHistory
def fill_from_darcs_hash_comments
return if empty_repo?
- Array(output_of("git", "log", "--grep=darcs-hash:", "--nocolor").split(/^commit /m)[1..-1]).each do |entry|
+ Array(output_of("git", "log", "--grep=darcs-hash:", "--no-color").split(/^commit /m)[1..-1]).each do |entry|
commit_id, identifier = entry.scan(/^([a-z0-9]+$).*darcs-hash:(.*?)$/sm).flatten
record_git_commit(commit_id, identifier)
end

0 comments on commit d31f529

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