sequencer: rename amend_author to author_to_rename
authorRohit Ashiwal <rohit.ashiwal265@gmail.com>
Fri, 1 Nov 2019 14:00:01 +0000 (19:30 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sat, 2 Nov 2019 06:36:23 +0000 (15:36 +0900)
commit0185c683c90baed447e96c18aafb705c91012b25
tree194ce6ff7c19259abf7a5e2c91455910029d9f55
parentcbd8db17acb77ea646c739bf96c31fe7484bc491
sequencer: rename amend_author to author_to_rename

The purpose of amend_author was to free() the malloc()'d string
obtained from get_author() while amending a commit. But we can
also use the variable to free() the author at our convenience.
Rename it to convey this meaning.

Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c