When --continue is invoked without any changes, the following stray error message appears- sed: can't read $dotest/final-commit: No such file or directory. Remove this by making sure that the file actually exists. Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx> --- git-am.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-am.sh b/git-am.sh index 04f02a8..e61f47a 100755 --- a/git-am.sh +++ b/git-am.sh @@ -693,7 +693,7 @@ do else action=yes fi - FIRSTLINE=$(sed 1q "$dotest/final-commit") + test -e "$dotest/final-commit" && FIRSTLINE=$(sed 1q "$dotest/final-commit") if test $action = skip then -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html