Re: Adding 'Signed-off-by' to 'subtree add --squash' commits

2014-07-07 Thread Andreas Schwab
Finucane, Stephen stephen.finuc...@intel.com writes:

 Is it possible to sign off squashed commits created by the 'git subtree add 
 ... --squash' command?

If it isn't directly possible, you can always use git commit --amend -C
HEAD -s to modify the commit afterwards.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Adding 'Signed-off-by' to 'subtree add --squash' commits

2014-07-07 Thread Jeff King
On Mon, Jul 07, 2014 at 06:55:07PM +0200, Andreas Schwab wrote:

 Finucane, Stephen stephen.finuc...@intel.com writes:
 
  Is it possible to sign off squashed commits created by the 'git subtree 
  add ... --squash' command?
 
 If it isn't directly possible, you can always use git commit --amend -C
 HEAD -s to modify the commit afterwards.

I think that is sensible, though these days you can spell -C HEAD as
--no-edit, which I think is a bit more obvious.

-Peff
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html