On Sun, Dec 10, 2006 at 06:43:41PM -0800, Jamey Sharp wrote:
> Package: devscripts
> Version: 2.9.26
> Severity: normal
> File: /usr/bin/debcommit
> 
> When using Git to obtain the changes to debian/changelog for the commit
> message, debcommit runs `git-diff --cached`.  This only shows changes
> recorded in Git's index with git-update-index, as opposed to all changes
> in the working directory.  The manual page for debcommit should document
> this behavior.
> 
> In addition to improved documentation, it would be nice if debcommit
> offered an equivalent for `git-commit -a`, which (roughly) ignores the
> index and commits the contents of the working directory.  Implementing
> such an option is simple: use `git-diff HEAD` rather than --cached, and
> pass '-a' along with the other arguments to git-commit.

I don't use git myself, so have no way to test this.  If you supply a
patch to the current debcommit, I will apply it.

Thanks!

   Julian


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

Reply via email to