Home
last modified time | relevance | path

Searched hist:"94 fbd3e37d6bdbf5490a185607ca20f862637220" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/patman/
H A Dpatchstream.py94fbd3e37d6bdbf5490a185607ca20f862637220 Mon Jun 27 06:24:32 UTC 2016 Bin Meng <bmeng.cn@gmail.com> tools: patman: Handle missing 'END' in non-last commit of a series

The following python error:

Traceback (most recent call last):
File "./tools/patman/patman", line 144, in <module>
series = patchstream.FixPatches(series, args)
File "./tools/patman/patchstream.py", line 477, in FixPatches
commit = series.commits[count]
IndexError: list index out of range

is seen when:

- 'END' is missing in those tags
- those tags are put in the last part in a commit message
- the commit is not the last commit of the series

Add testing logic to see if a new commit starts.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>