Explorar el Código

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 hace 15 años
padre
commit
2dee4700ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }