Skip to content
Commit 4b89b813 authored by Scott Wood's avatar Scott Wood Committed by Simon Glass
Browse files

patman: Check commit_match before stripping leading whitespace



True commit lines start at column zero.  Anything that is indented
is part of the commit message instead.  I noticed this by trying to
run buildman with commit e3a4facd
as master, which contained a reference to a Linux commit inside
the commit message.  ProcessLine saw that as a genuite commit
line, and thus buildman tried to build it, and died with an
exception because that SHA is not present in the U-Boot tree.

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 2181830f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment