| author | Junio C Hamano <gitster@pobox.com> | |
| Wed, 26 Oct 2011 19:15:51 +0000 (12:15 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 26 Oct 2011 20:09:23 +0000 (13:09 -0700) | ||
| commit | 764161391f2dd3fc12a5bec1385e0ab40dd90fd6 | |
| tree | 76a2fcca03e6df07832603195cac66ff6c499c65 | tree | snapshot |
| parent | 1487a12ba228c6003f503366f40840eee9887179 | commit | diff |
builtin/grep: simplify lock_and_read_sha1_file()
As read_sha1_lock/unlock have been made aware of use_threads,
this caller can be made a lot simpler.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
As read_sha1_lock/unlock have been made aware of use_threads,
this caller can be made a lot simpler.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| builtin/grep.c | diff | blob | history |