arc land changes author

Joachim Breitner mail at joachim-breitner.de
Wed Oct 29 07:21:09 UTC 2014


Hi,

I was just about to apply a DR by David. First I ran 
$ arc patch D390
which put me on a feature branch. Then I reworded the commit with
$ git commit --amend
and then I tried to land it with 
$ arc land
Luckily I also passed --hold...

It even asked me if I want to land the commit although I am not the
author:

    This branch has revision 'D390: Reorder GHC.List; fix performance
    regressions' but you are not the author. Land this revision by dfeuer?
    [y/N] y

But it still put me in the author field:

        $ git show HEAD
        commit a387c359b99667ce55016de3816b5d9873a155db
        Author: Joachim Breitner <mail at joachim-breitner.de>
        Date:   Wed Oct 29 08:17:05 2014 +0100
        
            Reorder GHC.List; fix performance regressions
            
            Summary:
            Rearrange some oddly placed code.
        
(and undid my commit message changes....)

Did I do something wrong?

Anyways, it said something along the lines of
        Cleaning up feature branch...
        (Use `git checkout -b 'arcpatch-D390'
        'a3ceb0e7f44d53f728fb8bd0dfb4c97297818029'` if you want it
        back.)
so with
        $ git commit --amend -C a3ceb0e7f44d53f728fb8bd0dfb4c97297818029
I was able to get the edited commit message with the right author back.


Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141029/1014c2e1/attachment.sig>


More information about the ghc-devs mailing list