format-patch: check that header line has expected format
commit06dfc9ebaa154d5074b7afadc2f792a80fba7d0c
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 15 Dec 2015 01:52:05 +0000 (15 01:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Dec 2015 18:03:56 +0000 (15 10:03 -0800)
tree1d50aa5765cf013b5f957583714120c28171ff20
parent3a30aa17879b08f96262abb9a22c7bbe8f56e4c9
format-patch: check that header line has expected format

The format of the "From " header line is very specific to allow
utilities to detect Git-style patches.  Add a test that the patches
created are in the expected format.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4014-format-patch.sh