summaryrefslogtreecommitdiff
path: root/sha1dc_git.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2018-08-07 10:34:51 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-07 14:52:06 -0700
commit5dfcfe1eb28edd1afe8e2e738878b71a7c69d301 (patch)
tree7a7b92e58b73b37993409b787f6373c579887532 /sha1dc_git.c
parentsequencer: don't die() on bogus user-edited timestamp (diff)
downloadtgif-5dfcfe1eb28edd1afe8e2e738878b71a7c69d301.tar.xz
sequencer: handle errors from read_author_ident()
Check for a NULL return value from read_author_ident() that indicates an error. Previously the NULL author was passed to commit_tree() which would then fallback to using the default author when creating the new commit. This changed the date and potentially the author of the commit which corrupted the author data compared to its expected value. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1dc_git.c')
0 files changed, 0 insertions, 0 deletions