]> git.ipfire.org Git - thirdparty/git.git/commit
am: improve author-script error reporting
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 31 Oct 2018 10:15:53 +0000 (10:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Nov 2018 03:08:06 +0000 (12:08 +0900)
commit442c36bd08a283b158995fd75d340e6981b80e34
tree432010f8d6000879db63a15ed6b07a582c711374
parent28224c23597e5d4b405b87e4e3dc321fd2d2c4f6
am: improve author-script error reporting

If there are errors in a user edited author-script there was no
indication of what was wrong. This commit adds some specific error messages
depending on the problem. It also relaxes the requirement that the
variables appear in a specific order in the file to match the behavior
of 'rebase --interactive'.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c