Просмотр исходного кода

dpkg-source: simplify message pointing to dpkg-source --commit

The supplementary arguments suggested are awkward and are generally not
needed unless your package is huge and takes a long time to uncompress
and diff.

The best advice is thus “dpkg-source --commit” without any parameter.
Maintainers of big packages will read the manual package and learn
by themselves how to reuse the generated patch.
Raphaël Hertzog лет назад: 15
Родитель
Сommit
2dee4700ac
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/Dpkg/Source/Package/V2.pm

+ 1 - 1
scripts/Dpkg/Source/Package/V2.pm

@@ -504,7 +504,7 @@ sub do_build {
     unless (not -s $tmpdiff or $self->{'options'}{'single_debian_patch'}
             or $self->{'options'}{'auto_commit'}) {
         info(_g("you can integrate the local changes with %s"),
-             "dpkg-source --commit . '' $tmpdiff");
+             "dpkg-source --commit");
         error(_g("aborting due to unexpected upstream changes, see %s"),
               $tmpdiff);
     }