Bug#843239: debcommit and git Signed-off-by

Ian Jackson ijackson at chiark.greenend.org.uk
Sat Nov 5 12:01:46 UTC 2016


Package: devscripts
Version: 2.16.8
Severity: wishlist

I have taken to using this rune:

  debcommit && EDITOR=: git-commit --amend -s

This is convenient, except that it is rather wordy, and that it prints
the commit message three times, nowadays.  See below.

I suggest that:

1. There should be a --signoff option or something which passes -s
   to git.  It should probably fail with other vcs's until someone
   implements it by hand for those.

2. debcommit should perhaps no longer print the git commit rune,
   because modern git prints the commit message which is the
   interesting part ?

Thanks,
Ian.

  zealot:chiark-utils.git> debcommit && EDITOR=: git-commit --amend -s 
  git commit -m 'cvs-adjustroot: properly exit nonzero in case of error. Fixes the first half of #839708.'
  [master 8b90783] cvs-adjustroot: properly exit nonzero in case of error. Fixes the first half of #839708.
   2 files changed, 11 insertions(+), 1 deletion(-)
  [master 15e77d9] cvs-adjustroot: properly exit nonzero in case of error. Fixes the first half of #839708.
   Date: Sat Nov 5 11:56:19 2016 +0000
   2 files changed, 11 insertions(+), 1 deletion(-)
  zealot:chiark-utils.git> 

-- 
Ian Jackson <ijackson at chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



More information about the devscripts-devel mailing list