Re: [PATCH] git-stash: Don't GPG sign when stashing changes
On 15 April 2016 at 01:50, Johannes Schindelinwrote: > Hi Cameron, > > On Wed, 13 Apr 2016, Cameron Currie wrote: > >> > > On Thu, 7 Apr 2016, daurnimator wrote: >> > > >> > >> Cameron Currie cameroncurrie.net> writes: >> > >> > This is helpful for folks with commit.gpgsign = true in their >> > >> > .gitconfig. >> > >> >> > >> > https://github.com/git/git/pull/186 >> > >> >> > >> I too would like this. >> > >> Bumping due to lack of attention. >> > > >> > > It lacks a Sign-off, our convention is to continue in lower-case >> > > after the colon in the commit's subject, and I think that it would >> > > be good to write so much as one paragraph in the commit message. >> >> I don't think I can find the time right now. Feel free to rewrite the >> commit message to match convention. > > I am afraid that it would be improper for anybody to add your Sign-off, as > it is *your* statement that you are indeed contributing this as Open > Source, and that you indeed are free to do so. > > If you do not find the time to take care of these small changes, I fear > the Git maintainer will *have* to drop your patch to avoid hassle for > himself. > > Ciao, > Johannes Cameron, could you please add a sign off to your commit? It should be as simple as running `git commit --amend -s` -- 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: [PATCH] git-stash: Don't GPG sign when stashing changes
Hi Cameron, On Wed, 13 Apr 2016, Cameron Currie wrote: > > > On Thu, 7 Apr 2016, daurnimator wrote: > > > > > >> Cameron Currie cameroncurrie.net> writes: > > >> > This is helpful for folks with commit.gpgsign = true in their > > >> > .gitconfig. > > >> > > >> > https://github.com/git/git/pull/186 > > >> > > >> I too would like this. > > >> Bumping due to lack of attention. > > > > > > It lacks a Sign-off, our convention is to continue in lower-case > > > after the colon in the commit's subject, and I think that it would > > > be good to write so much as one paragraph in the commit message. > > I don't think I can find the time right now. Feel free to rewrite the > commit message to match convention. I am afraid that it would be improper for anybody to add your Sign-off, as it is *your* statement that you are indeed contributing this as Open Source, and that you indeed are free to do so. If you do not find the time to take care of these small changes, I fear the Git maintainer will *have* to drop your patch to avoid hassle for himself. Ciao, Johannes -- 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: [PATCH] git-stash: Don't GPG sign when stashing changes
On 7 April 2016 at 18:19, Johannes Schindelinwrote: > Hi, > > you dropped the Cc: list. So most likely Cameron won't get your mail nor > any response to your mail. I originally replied via the gmane web interface, apparently it doesn't CC the original sender. CCd now. > On Thu, 7 Apr 2016, daurnimator wrote: > >> Cameron Currie cameroncurrie.net> writes: >> > This is helpful for folks with commit.gpgsign = true in their .gitconfig. >> >> > https://github.com/git/git/pull/186 >> >> I too would like this. >> Bumping due to lack of attention. > > It lacks a Sign-off, our convention is to continue in lower-case after the > colon in the commit's subject, and I think that it would be good to write > so much as one paragraph in the commit message. > > Ciao, > Johannes Cameron, able you able to complete this? -- 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: [PATCH] git-stash: Don't GPG sign when stashing changes
Hi, you dropped the Cc: list. So most likely Cameron won't get your mail nor any response to your mail. On Thu, 7 Apr 2016, daurnimator wrote: > Cameron Currie cameroncurrie.net> writes: > > This is helpful for folks with commit.gpgsign = true in their .gitconfig. > > > https://github.com/git/git/pull/186 > > I too would like this. > Bumping due to lack of attention. It lacks a Sign-off, our convention is to continue in lower-case after the colon in the commit's subject, and I think that it would be good to write so much as one paragraph in the commit message. Ciao, Johannes -- 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: [PATCH] git-stash: Don't GPG sign when stashing changes
Cameron Currie cameroncurrie.net> writes: > This is helpful for folks with commit.gpgsign = true in their .gitconfig. > https://github.com/git/git/pull/186 I too would like this. Bumping due to lack of attention. -- 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: [PATCH] git-stash: Don't GPG sign when stashing changes
Cameron Curriewrites: > This is helpful for folks with commit.gpgsign = true in their .gitconfig. > --- > git-stash.sh | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) I have to wonder if the right fix is to change "git commit-tree" to ignore that configuration variable? After all, the plumbing commands are about stability of the interface, not convenience, and it feels wrong for them to be affected by end-user configurations. Patching git-stash.sh does not help other scripts (either in-tree or third-party) that use commit-tree; they will also be broken by over-eager users who set commit.gpgsign configuration. > > diff --git a/git-stash.sh b/git-stash.sh > index c7c65e2..fcf01b9 100755 > --- a/git-stash.sh > +++ b/git-stash.sh > @@ -85,7 +85,7 @@ create_stash () { > # state of the index > i_tree=$(git write-tree) && > i_commit=$(printf 'index on %s\n' "$msg" | > - git commit-tree $i_tree -p $b_commit) || > + git commit-tree --no-gpg-sign $i_tree -p $b_commit) || > die "$(gettext "Cannot save the current index state")" > > if test -n "$untracked" > @@ -99,7 +99,7 @@ create_stash () { > rm -f "$TMPindex" && > git update-index -z --add --remove --stdin && > u_tree=$(git write-tree) && > - printf 'untracked files on %s\n' "$msg" | git > commit-tree $u_tree && > + printf 'untracked files on %s\n' "$msg" | git > commit-tree --no-gpg-sign $u_tree && > rm -f "$TMPindex" > ) ) || die "Cannot save the untracked files" > > @@ -153,7 +153,7 @@ create_stash () { > stash_msg=$(printf 'On %s: %s' "$branch" "$stash_msg") > fi > w_commit=$(printf '%s\n' "$stash_msg" | > - git commit-tree $w_tree -p $b_commit -p $i_commit > $untracked_commit_option) || > + git commit-tree --no-gpg-sign $w_tree -p $b_commit -p $i_commit > $untracked_commit_option) || > die "$(gettext "Cannot record working tree state")" > } > > > -- > https://github.com/git/git/pull/186 -- 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