patman: check git format.subjectprefix setting when generate patches prefix
authorWu, Josh <Josh.wu@atmel.com>
Wed, 15 Apr 2015 02:25:18 +0000 (10:25 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Apr 2015 18:35:50 +0000 (12:35 -0600)
commit3871cd858fcf8a00e31c2f456409afea03ce8788
tree398180bc9a793ce8f91c52462c9c0c5cda1e1721
parent1246231c488b5f980830384e83d39a839043082b
patman: check git format.subjectprefix setting when generate patches prefix

For the local project, we may specified format.subjectprefix setting.
Then the patch will be formated as [Project_prefix][PATCH].
But patman will not check this setting. It will remove the
format.subjectprefix.

So This patch will let patman check this setting and add it as a
project prefix.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
tools/patman/README
tools/patman/gitutil.py
tools/patman/series.py