mail.sh: eliminate dependency on Git 1.8.5 or later
commitfeb10cc876fa0c4b512aab47a0636b4a7f1a6527
authorKyle J. McKay <mackyle@gmail.com>
Mon, 26 Dec 2016 06:09:18 +0000 (25 22:09 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 26 Dec 2016 06:09:18 +0000 (25 22:09 -0800)
treef11639da1d3cf38b5d1423293e15c0cc687627ce
parent2dc03a5898779af78fc53d55c1d8ac7eae30db66
mail.sh: eliminate dependency on Git 1.8.5 or later

Since 95aca0f365 (mail.sh: various minor updates, 2016-06-03),
mail.sh has started using the --batch-check option.  For efficiency
it has been passing in a format (it's slightly faster if you do not
ask for object length if you don't need it).

However, since the output fields mail.sh needs are part of the
default format for --batch-check and --batch-check without any format
has been supported since version 1.5.6 it's easy to make do without
the format.  Therefore suppress the format unless running at least
Git version 1.8.5.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/mail.sh