summaryrefslogtreecommitdiff
path: root/src/diff_print.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2016-02-09 07:17:26 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2016-02-09 07:17:26 +0100
commitf55eca167c2d08045dff929adb8ad8b81d8ccc86 (patch)
tree70dfd5c49bc2cbcc4fcdf74ab13ffc9f03bf2767 /src/diff_print.c
parent700f0aff24d9b292f24d802c3af3b5c1705193c5 (diff)
downloadlibgit2-cmn/header-field-2.tar.gz
commit: also match the first header field when searchingcmn/header-field-2
We were searching only past the first header field, which meant we were unable to find e.g. `tree` which is the first field. While here, make sure to set an error message in case we cannot find the field.
Diffstat (limited to 'src/diff_print.c')
0 files changed, 0 insertions, 0 deletions