uboot/tools
Bin Meng 94fbd3e37d 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>
2016-07-11 14:06:44 -06:00
..
buildman
easylogo
env
gdb
kermit
logos
omap
patman tools: patman: Handle missing 'END' in non-last commit of a series 2016-07-11 14:06:44 -06:00
scripts
tbot
.gitignore
Makefile mkimage -l is broken for images after gpimage 2016-07-11 10:57:05 -04:00
aisimage.c
aisimage.h
atmel_pmecc_params.c
atmelimage.c
bin2header.c
bmp_logo.c
default_image.c Respect SOURCE_DATE_EPOCH when building FIT images. 2016-06-24 17:23:10 -04:00
dumpimage.c
dumpimage.h
envcrc.c
fdt_host.h
fdtgrep.c
fit_check_sign.c
fit_common.c
fit_common.h
fit_image.c Respect SOURCE_DATE_EPOCH when building FIT images. 2016-06-24 17:23:10 -04:00
fit_info.c
gen_eth_addr.c
genboardscfg.py
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c
ifdtool.c
ifdtool.h
image-host.c
imagetool.c Respect SOURCE_DATE_EPOCH when building FIT images. 2016-06-24 17:23:10 -04:00
imagetool.h Respect SOURCE_DATE_EPOCH when building FIT images. 2016-06-24 17:23:10 -04:00
img2brec.sh
img2srec.c
imximage.c
imximage.h
jtagconsole
kwbimage.c
kwbimage.h
kwboot.c
lpc32xximage.c
microcode-tool
microcode-tool.py
mingw_support.c
mingw_support.h
mkenvimage.c
mkexynosspl.c
mkimage.c mkimage: fit: spl: Add an optional static offset for external data 2016-06-24 17:23:06 -04:00
mkimage.h
mksunxiboot.c
moveconfig.py tools: moveconfig: show suspicious boards with possible misconversion 2016-06-22 09:23:00 +09:00
mxsboot.c
mxsimage.c
mxsimage.h
ncb.c
netconsole
omapimage.c
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c
pblimage.h
proftool.c
relocate-rela.c
rkcommon.c
rkcommon.h
rkimage.c
rkmux.py
rksd.c
rkspi.c
socfpgaimage.c
ublimage.c
ublimage.h
ubsha1.c
xway-swap-bytes.c
zynqimage.c
zynqmpimage.c