Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signoff uses Git's --signoff which only includes the committer #51

Open
wking opened this issue May 15, 2017 · 1 comment
Open

Signoff uses Git's --signoff which only includes the committer #51

wking opened this issue May 15, 2017 · 1 comment

Comments

@wking
Copy link

wking commented May 15, 2017

When you set --signoff, git-duet passes the option through to Git. But in Git, that only adds a Signed-off-by for the committer. Without an author Signed-off-by, tools like PullApprove may complain about the apparent DCO gap.

In the vanilla Git case, the committer is usually the only person who can add a new signoff at that point, so I'm skeptical about landing a semantic change in Git to make git commit --signoff … add signoffs for both the author and the committer. It would be nice if Git had a --tag ... option which would append a tag (if it was missing) to the commit message, but it doesn't seem to have that at the moment. So I'm not sure what the cleanest fix for this issue is, but addressing it in git-duet seems like the right place for a duet-specific issue (i.e. “we're both sitting here and both want our signoff on the commit”).

@jszwedko
Copy link
Member

👍 I agree that an optional flag to git-duet feels like it makes sense here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants