On Sun, 2008-02-24 at 20:28 +0100, Bernd Zeimetz wrote:
> Package: devscripts
> Version: 2.10.13
> Severity: wishlist
> 
> Please either run git add debian/changelog before commiting, or only use
> the diff between the last HEAD and the latest 'added' version of
> debian/changelog. Otherwise you can end up with a commit without the
> appropriate changelog entry.

Apologies if I've misunderstood, as I must admit to not being a git
user, but I believe this is exactly the situation for which we added the
"-a" switch to debcommit.

>From 2.10.6's changelog:

* debcommit: When using git, allow either all files or only those in
    the index to be committed. Thanks to Martin F Kraft and Junichi
    Uekawa for the patch. (Closes: #402539, #427429, #433081)

Without -a, debcommit uses "git-diff --cached" and "git commit $files";
with -a, it uses "git-diff" and "git commit -a".

Please see the discussion in #427429 for further details.

Regards,

Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to