git-commit-vandalism/refs
Nguyễn Thái Ngọc Duy 4f43731268 files-backend.c: delete dead code in files_ref_iterator_begin()
It's not in the diff context, but files_downcast() is called before this
check. If "refs" is NULL, we would have segfaulted before reaching the
check here. And we should never see NULL refs in backend code (frontend
should have caught it).

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-03-27 10:23:39 -07:00
..
files-backend.c files-backend.c: delete dead code in files_ref_iterator_begin() 2017-03-27 10:23:39 -07:00
iterator.c do_for_each_ref(): reimplement using reference iteration 2016-06-20 11:38:20 -07:00
refs-internal.h files-backend: make files_log_ref_write() static 2017-03-27 10:23:39 -07:00