Package: dgit
Version: 8.3
Severity: minor

Hello,

Since 8.3 dgit will error out if there are untracked files, and make the
following suggestion:

    dgit: error: tree contains uncommited, untracked, unignored files
    dgit: You can use --clean=git[-ff],always (-wga/-wgfa) to delete them.

... to which a user might reasonably respond "but I want to keep them!"

dgit could say instead:

    dgit: error: tree contains uncommited, untracked, unignored files
    dgit: You can use --clean=git[-ff],always (-wga/-wgfa) to delete them,
    dgit: or --clean=none --include-dirty to include them in the build.

This might cause the user to run into the error message reported in
#914317, so I wonder whether dgit should only do this in the case that
there are no untracked files under d/patches or the source format isn't
3.0 (quilt)?  Or maybe it should just refer to the docs for
--include-dirty, assuming you like my patch in #930922?

A third possibility is recommending that the user stage the files and
then just --include-dirty should be sufficient.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to