chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quilt output: Produce output like git-format-patch
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 1a5b88a5ef16284a0b09dc3affbb5e2fe0d119dc..836e19d4257173a9fe046781500e3cef0c2f0855 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-3637,13
+3637,10
@@
sub quiltify_dpkg_commit ($$$;$) {
mkpath '.git/dgit';
my $descfn = ".git/dgit/quilt-description.tmp";
open O, '>', $descfn or die "$descfn: $!";
mkpath '.git/dgit';
my $descfn = ".git/dgit/quilt-description.tmp";
open O, '>', $descfn or die "$descfn: $!";
- $msg =~ s/\s+$//g;
- $msg =~ s/\n/\n /g;
- $msg =~ s/^\s+$/ ./mg;
+ $msg =~ s/\n+/\n\n/;
print O <<END or die $!;
print O <<END or die $!;
-Description: $msg
-Author: $author
-$xinfo
+From: $author
+${xinfo}Subject: $msg
---
END
---
END