Re: How to edit "Author" in a patch ready to push

2015-06-12 Thread David Kastrup
Benkő Pál  writes:

> 2015-06-12 22:20 GMT+02:00 Thomas Morley :
>> Though, the current patch for 4428 shows:
>> Author: harm 
>>
>> Is there any way to change it to:
>> Author: Thomas Morley 
>> ?
>
> my guess is
> git commit --amend --reset-author --no-edit

Instead of --reset-author, --author=Morley should have worked (reuses
the last author matching "Morley" or something like that).  Or, if the
author has no previous commits or only commits with a bad address or
name,
--author="Thomas Morley "

--reset-author may be nice for your case, but more frequently is the
situation where you are committing a patch for somebody else.

-- 
David Kastrup

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: How to edit "Author" in a patch ready to push

2015-06-12 Thread Thomas Morley
2015-06-12 22:33 GMT+02:00 Benkő Pál :
> 2015-06-12 22:20 GMT+02:00 Thomas Morley :
>> Though, the current patch for 4428 shows:
>> Author: harm 
>>
>> Is there any way to change it to:
>> Author: Thomas Morley 
>> ?
>
> my guess is
> git commit --amend --reset-author --no-edit
>
> p

Thanks a lot, works.

Best,
  Harm

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: How to edit "Author" in a patch ready to push

2015-06-12 Thread Benkő Pál
2015-06-12 22:20 GMT+02:00 Thomas Morley :
> Though, the current patch for 4428 shows:
> Author: harm 
>
> Is there any way to change it to:
> Author: Thomas Morley 
> ?

my guess is
git commit --amend --reset-author --no-edit

p

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


How to edit "Author" in a patch ready to push

2015-06-12 Thread Thomas Morley
Hi,
I've newly set up LilyDev3 and used it for the first time creating a patch for
https://code.google.com/p/lilypond/issues/detail?id=4428
I had some heavy problems, because I wasn't aware that most steps
described here:
http://lilypond.org/doc/v2.19/Documentation/contributor/commit-access
needed to be redone. Should be sorted now.

Though, the current patch for 4428 shows:
Author: harm 

Is there any way to change it to:
Author: Thomas Morley 
?


(I edited .gitconfig to do this in the future, but too late for the 4428-patch)

Cheers,
  Harm

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel