This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlgit.pod: how to unescape 'git am' From lines
[perl5.git] / pod / perlgit.pod
index 3eb0dbb..f5d4fec 100644 (file)
@@ -616,6 +616,11 @@ C<git am>:
   % git am 0001-Rename-Leon-Brocard-to-Orange-Brocard.patch
   Applying Rename Leon Brocard to Orange Brocard
 
+Note that some UNIX mail systems can mess with text attachments containing
+'From '. This will fix them up:
+
+  % perl -pi -e's/^>From /From /' 0001-Rename-Leon-Brocard-to-Orange-Brocard.patch
+
 If just a raw diff is provided, it is also possible use this two-step
 process: