I obviously have my noob hat on :) ... you told me the same thing git
did... so here we go...

$ f=`git rev-parse --git-dir`/hooks/commit-msg ; curl -Lo $f
https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x $f
 % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100  1754  100  1754    0     0   3328      0 --:--:-- --:--:-- --:--:--
3334
dtkerns@compute:~/git/gem5$ git commit --amend
git: 'interpret-trailers' is not a git command. See 'git --help'.
cannot insert change-id line in .git/COMMIT_EDITMSG

when I look at the content of the $f file it create I see interpret-trailers
as an argument to an internal git command

am I running the wrong version of git?

$ git --version
git version 1.8.3.1


On Sat, Feb 2, 2019 at 11:14 AM Jason Lowe-Power <[email protected]>
wrote:

> Hey Dave,
>
> Install the git commit hook:
> f=`git rev-parse --git-dir`/hooks/commit-msg ; curl -Lo $f
> https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x
> $f
>
> Then run "git commit --amend"
>
> Jason
>
> On Sat, Feb 2, 2019 at 10:08 AM David Taylor Kerns <
> [email protected]> wrote:
>
> > oh I see, (longer story here that I was skipping) my first clone was
> > associated with a bad email address...
> > and my commit on the 2nd  clone failed w/out me noticing ... ok, that's
> > resolved, now I'm back to a (new) push error
> >
> > It looks like the error message tells me almost everything I need ...
> > except where to create the Change-Id
> >
> >  $ git push origin HEAD:refs/for/master
> > Counting objects: 9, done.
> > Delta compression using up to 24 threads.
> > Compressing objects: 100% (5/5), done.
> > Writing objects: 100% (5/5), 435 bytes | 0 bytes/s, done.
> > Total 5 (delta 4), reused 0 (delta 0)
> > remote: Resolving deltas: 100% (4/4)
> > remote: Processing changes: refs: 1, done
> > remote: ERROR: commit 050aa7a: missing Change-Id in message footer
> > remote:
> > remote: Hint: to automatically insert a Change-Id, install the hook:
> > remote: f=`git rev-parse --git-dir`/hooks/commit-msg ; curl -Lo $f
> > https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x
> > $f
> > remote: and then amend the commit:
> > remote:   git commit --amend
> > remote: Finally, push your changes again
> > remote:
> > To https://gem5.googlesource.com/public/gem5
> >  ! [remote rejected] HEAD -> refs/for/master (commit 050aa7a: missing
> > Change-Id in message footer)
> > error: failed to push some refs to '
> > https://gem5.googlesource.com/public/gem5'
> >
> >
> > On Sat, Feb 2, 2019 at 10:49 AM Jason Lowe-Power <[email protected]>
> > wrote:
> >
> > > Hi Dave,
> > >
> > > Is it possible that you have not committed your change? It says that
> > there
> > > is no difference from your code to googlesource master. That often
> means
> > > that there is no commit that differs.
> > >
> > > Try running "git log" and making sure that you have an entry for the
> > commit
> > > you are expecting to push.
> > >
> > > If that doesn't work, let me know and we can try to find a solution.
> > >
> > > Cheers,
> > > Jason
> > >
> > > On Sat, Feb 2, 2019 at 9:44 AM David Taylor Kerns <
> > > [email protected]>
> > > wrote:
> > >
> > > > Hello,
> > > > I'm trying to contribute a 1-line (1 char) fix to
> > > >
> > > > http://grok.gem5.org/xref/gem5/configs/example/se.py?a=true&h=#157
> > > >
> > > > there's a missing ']' @ line 157
> > > >
> > > > - exec("workload = %s(buildEnv['TARGET_ISA', 'linux', '%s')" % (
> > > >
> > > > + exec("workload = %s(buildEnv['TARGET_ISA'], 'linux', '%s')" % (
> > > >
> > > >
> > > >
> > > > the git repo is fighting me  :(
> > > >
> > > > $ git push origin HEAD:refs/for/master
> > > > Total 0 (delta 0), reused 0 (delta 0)
> > > > remote: Processing changes: refs: 1, done
> > > > To https://gem5.googlesource.com/public/gem5
> > > >  ! [remote rejected] HEAD -> refs/for/master (no new changes)
> > > > error: failed to push some refs to '
> > > > https://gem5.googlesource.com/public/gem5'
> > > >
> > > > thanks for any help you can provide
> > > >
> > > > Dave
> > > > _______________________________________________
> > > > gem5-dev mailing list
> > > > [email protected]
> > > > http://m5sim.org/mailman/listinfo/gem5-dev
> > > _______________________________________________
> > > gem5-dev mailing list
> > > [email protected]
> > > http://m5sim.org/mailman/listinfo/gem5-dev
> > _______________________________________________
> > gem5-dev mailing list
> > [email protected]
> > http://m5sim.org/mailman/listinfo/gem5-dev
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to