On Sun, 2008-02-24 at 19:59 +0000, Adam D. Barratt wrote:
> 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.

I've just had a look at the relevant section of debcommit while making
another change. If a message was not passed using the --message
parameter, debcommit will run git diff in order to look for uncommitted
changes (with --cached unless -a was passed). If no uncommitted changes
are found, debcommit should be failing with the message:

        debcommit: unable to determine commit message using git (do you mean 
"debcommit -a" or did you forget to run "git add"?)
        Try using the -m flag.
        
Regards,

Adam




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to