diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-06-04 16:49:20 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 16:47:47 +0100 |
commit | c241a9f63b2e3ca01e7f0e03a18e129c0f27fbb4 (patch) | |
tree | bcc0da7728acc592e93f8ab1de1213ab8131fb9f /dgit | |
parent | 16c86daecbed9ea9f265cb96c5a1502eabdf0609 (diff) |
Split brain: Start work on generating gitignore patch
Generate a patch header, for now. Still not finished.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -2576,6 +2576,20 @@ sub quiltify_splitbrain ($$) { !($diffbits->{O2A} & 02)) { # patches do not change .gitignore quiltify_splitbrain_needed(); progress "creating patch to represent .gitignore changes"; + my $gipatch = "debian/patches/auto-gitignore"; + open GIPATCH, ">>", "$gipatch" or die "$gipatch: $!"; + stat GIPATCH or die "$gipatch: $!"; + fail "$gipatch already exists; but want to create it". + " to record .gitignore changes" if (stat _)[7]; + print GIPATCH <<END or die "$gipatch: $!"; +Subject: Update .gitignore from Debian packaging branch + +The Debian packaging git branch contains these updates to the upstream +.gitignore file(s). This patch is autogenerated, to provide these +updates to users of the official Debian archive view of the package. + +--- +END die 'xxx gitignore'; } |