Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: Re: Re: [gentoo-dev] Re: Portage Git migration - clean cut or git-cvsserver
Date: Fri, 01 Jun 2012 16:15:04
Message-Id: CAATnKFDtdAVK+SSy=-gu5z3vnGy11XAxx2azov07YRo8e=ZdvQ@mail.gmail.com
In Reply to: Re: Re: Re: [gentoo-dev] Re: Portage Git migration - clean cut or git-cvsserver by Rich Freeman
1 On 2 June 2012 03:53, Rich Freeman <rich0@g.o> wrote:
2
3 > git-rebase is just a shell script, that ultimately just calls
4 > git-commit as far as I can see, which means that implementing
5 > re-signing is just a matter of adding the appropriate parameters, or
6 > use default configuration (assuming it doesn't already do this).
7 >
8 > Rich
9 >
10
11 Oh that makes it slightly easier, I didn't realise it was just a blob
12 of bash doing all that O.o
13
14 grep -nR 'git commit' git-rebase*
15 git-rebase--interactive.sh:152: warn " git commit --amend"
16 git-rebase--interactive.sh:441: git commit --amend --no-post-rewrite || {
17 git-rebase--interactive.sh:484: do_with_author output git commit
18 --no-verify -F "$squash_msg" ||
19 git-rebase--interactive.sh:491: do_with_author git commit
20 --no-verify -F "$fixup_msg" ||
21 git-rebase--interactive.sh:496: do_with_author git commit --no-verify -e ||
22 git-rebase--interactive.sh:699: git commit --amend
23 git-rebase--interactive.sh:703: git commit
24 git-rebase--interactive.sh:723: do_with_author git commit --no-verify
25 -F "$msg" -e || {
26 git-rebase--merge.sh:30: if ! git commit --no-verify -C "$cmt"
27 git-rebase--merge.sh:32: echo "Commit failed, please do not call
28 \"git commit\""
29
30
31 Throwing '-S' in there liberally aught to do the trick.
32
33
34
35 --
36 Kent
37
38 perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3,
39 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"
40
41 http://kent-fredric.fox.geek.nz