summaryrefslogtreecommitdiff
path: root/Porting/git-deltatool
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2011-02-26 09:05:12 +0100
committerFlorian Ragwitz <rafl@debian.org>2011-02-26 09:05:12 +0100
commit08973043bcacf380545b7ccd9b9d87c39b56b75e (patch)
tree9d0d5069827cd3426a4f98769ea897630cfeee37 /Porting/git-deltatool
parentb06d15458ffdc7ae82888f4a34a26930f8f1a4e4 (diff)
downloadperl-08973043bcacf380545b7ccd9b9d87c39b56b75e.tar.gz
Don't include commit IDs in generated delta entries
We don't usually reference git commits anymore in perldelta, so let's stop git-deltatool from generating entries like that.
Diffstat (limited to 'Porting/git-deltatool')
-rw-r--r--Porting/git-deltatool15
1 files changed, 5 insertions, 10 deletions
diff --git a/Porting/git-deltatool b/Porting/git-deltatool
index 2216037b9a..ce7c50a0d8 100644
--- a/Porting/git-deltatool
+++ b/Porting/git-deltatool
@@ -409,10 +409,9 @@ sub do_head2 {
my $section = _strip_parens($choice->{name});
my $subject = $log->subject;
my $body = $log->body;
- my $id = $log->short_id;
my $template = $self->note_template( $log,
- "perldelta: $section [pending]\n\n=head2 $subject\n\n$body ($id)\n"
+ "perldelta: $section [pending]\n\n=head2 $subject\n\n$body\n"
);
my $note = $self->edit_text( $template );
@@ -428,10 +427,9 @@ sub do_linked_item {
my $section = _strip_parens($choice->{name});
my $subject = $log->subject;
my $body = $log->body;
- my $id = $log->short_id;
my $template = $self->note_template( $log,
- "perldelta: $section [pending]\n\n=head3 L<LINK>\n\n=over\n\n=item *\n\n$subject ($id)\n\n$body\n\n=back\n"
+ "perldelta: $section [pending]\n\n=head3 L<LINK>\n\n=over\n\n=item *\n\n$subject\n\n$body\n\n=back\n"
);
my $note = $self->edit_text($template);
@@ -447,10 +445,9 @@ sub do_item {
my $section = _strip_parens($choice->{name});
my $subject = $log->subject;
my $body = $log->body;
- my $id = $log->short_id;
my $template = $self->note_template( $log,
- "perldelta: $section [pending]\n\n=item *\n\n$subject ($id)\n\n$body\n"
+ "perldelta: $section [pending]\n\n=item *\n\n$subject\n\n$body\n"
);
my $note = $self->edit_text($template);
@@ -473,10 +470,9 @@ sub do_platform {
my $section = _strip_parens($choice->{name});
my $subject = $log->subject;
my $body = $log->body;
- my $id = $log->short_id;
my $template = $self->note_template( $log,
- "perldelta: $section [pending]\n\n=item PLATFORM-NAME\n\n$subject ($id)\n\n$body\n"
+ "perldelta: $section [pending]\n\n=item PLATFORM-NAME\n\n$subject\n\n$body\n"
);
my $note = $self->edit_text($template);
@@ -498,14 +494,13 @@ sub do_special {
my $section = _strip_parens($choice->{name});
my $subject = $log->subject;
my $body = $log->body;
- my $id = $log->short_id;
my $template = $self->note_template( $log, << "HERE" );
perldelta: $section [pending]
$subject
-$body ($id)
+$body
HERE
my $note = $self->edit_text( $template );