git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding 'Signed-off-by' to 'subtree add --squash' commits
@ 2014-07-07  9:32 Finucane, Stephen
  2014-07-07 16:55 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Finucane, Stephen @ 2014-07-07  9:32 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: Gray, Mark D

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

I ask, because the Signed-off-by tag is a requirement for a project I work on, but I've been unable to achieve this. A thorough search of Google/StackOverflow reveals nothing.

Regards,

Stephen Finucane

PS: A visualisation. The issue is the second "squash" commit

  |\  Merge: 0000000 0000000
  | | Author: Stephen Finucane <stephen.finucane@intel.com>
  | | Date:   Mon Jul 7 10:21:51 2014 +0100
  | |
  | |     Add xxx as a git subtree
  | |
  | |     - There is no problem with this commit.
  | |
  | |     Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
  | |
  | * commit 0000000000000000000000000000000000000000
  |   Author: Stephen Finucane <stephen.finucane@intel.com>
  |   Date:   Mon Jul 7 10:21:51 2014 +0100
  |
  |       Squashed 'path/' content from commit 0000000
  |
  |       git-subtree-dir: path
  |       git-subtree-split: 0000000000000000000000000000000000000000
  |
  * commit 0000000000000000000000000000000000000000
  | Author: Stephen Finucane <stephen.finucane@intel.com>
  | Date:   Mon Jul 7 10:04:38 2014 +0100
  ...
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-07 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07  9:32 Adding 'Signed-off-by' to 'subtree add --squash' commits Finucane, Stephen
2014-07-07 16:55 ` Andreas Schwab
2014-07-07 17:20   ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).