]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
email: update message on autodetect project failure
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 11 Aug 2015 23:09:34 +0000 (16:09 -0700)
committerJacob Keller <jacob.e.keller@intel.com>
Tue, 11 Aug 2015 23:09:34 +0000 (16:09 -0700)
Update the message so that it is more clear why git-find-base fails
generally. The most common case is patches based on work which is not
yet applied by the maintainer. The previous message did not make this
clear, and thus users were confused.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
email/aiaiai-email-autodetect-project

index 6e832a486115f4bec7a8dafeaae481f027abbd7c..465f6c2055cc3752ef34c3d0846f3749284f88fe 100755 (executable)
@@ -147,11 +147,12 @@ else
        cat "$tmp_find_base" 1>&2
 
        cat <<EOF
-Aiaiai was unable to correctly determine the project for your patch submission.
-Normally the diff index information provided by git's diff mechanism is enough.
-The most probably cause is that your patch is based against an older reference
-to the project, and you need to rebase your submission against the current
-tree.
+Aiaiai was not able to automatically determine the project for your patch
+submission using the index information provided by git-diff. This can be caused
+because your patch is based on work which is not yet applied to the queue, or
+if your patch is based on a really old version of the queue. You might try to
+rebase your submission and re-submit against the current development
+queue.
 EOF
        exit 127
        fi