Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: implement opportunisitc index update correctly
author
Junio C Hamano
<gitster@pobox.com>
Wed, 7 Dec 2016 19:11:26 +0000
(11:11 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 7 Dec 2016 19:31:58 +0000
(11:31 -0800)
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>
raw
|
patch
| inline |
side by side
(from:
89d38fb
)
No differences found