* Add a newline to the .id files committed to git.
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 2 Feb 2008 03:13:01 +0000 (22:13 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 2 Feb 2008 03:13:01 +0000 (22:13 -0500)
debian/changelog
pristine-tar

index 1a3d20b..6262b2b 100644 (file)
@@ -1,6 +1,7 @@
 pristine-tar (0.7) UNRELEASED; urgency=low
 
   * Improve/fix handling when there is no local pristine-tar branch.
+  * Add a newline to the .id files committed to git.
 
  -- Joey Hess <joeyh@debian.org>  Fri, 01 Feb 2008 22:11:43 -0500
 
index 8f9340d..16387fb 100755 (executable)
@@ -510,7 +510,7 @@ sub checkoutdelta {
                if ($?) {
                        error "git show $branch:$idfile failed";
                }
-               chomp $id; # just in case..
+               chomp $id;
                if (! length $id) {
                        error "git show $branch:$idfile returned no id";
                }
@@ -539,7 +539,7 @@ sub commitdelta {
                print OUT $delta;
                close OUT;
                open(OUT, ">$tempdir/$idfile") || die "$tempdir/$idfile: $!";
-               print OUT $id;
+               print OUT "$id\n";
                close OUT;
                        
                # Commit the delta to a branch in git without affecting the