aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2020-08-28 14:05:26 +0300
committerJunio C Hamano <gitster@pobox.com>2020-09-06 10:33:19 -0700
commit793d37c17ffab46507e14c4547ad2edc9ba9e3fe (patch)
tree85ede32178a498a293a50839f533aea5ee2f1b65 /commit.h
parentlog_tree_diff: get rid of code duplication for first_parent_only (diff)
downloadgit-793d37c17ffab46507e14c4547ad2edc9ba9e3fe.tar.gz
git-793d37c17ffab46507e14c4547ad2edc9ba9e3fe.zip
log_tree_diff: get rid of extra check for NULL
Get rid of needless check of 'parents' for NULL. The NULL case is already handled right above, and 'parents' is dereferenced without check below anyway. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions