Browse Source
The require_clean_work_tree() function calls hold_locked_index() with die_on_error=0 to signal that it is OK if it fails to obtain the lock, but unconditionally calls update_index_if_able(), which will try to write into fd=-1. Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
![gitster@pobox.com](/assets/img/avatar_default.png)
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue