Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


force the newlines in carton.lock to be \n #24

merged 1 commit into from

2 participants


The json dump function created the lock file with system newlines, leading to the entirety of it being changed on updates across different OSes, which is terrible for source control. This change forces it to write \ns.

@miyagawa miyagawa merged commit 67de48f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 22, 2011
  1. @wchristian
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Carton/
1  lib/Carton/
@@ -13,6 +13,7 @@ sub dump_json {
my($data, $file) = @_;
open my $fh, ">", $file or die "$file: $!";
+ binmode $fh;
print $fh to_json($data);
Something went wrong with that request. Please try again.