Code

Merge branch 'js/grep-mutex'
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2011 19:04:02 +0000 (12:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2011 19:04:02 +0000 (12:04 -0700)
commit220c0453c12349a8ad4252bcaffbab5a96aeaa31
treed20b014198ca3d2bb7184e9e9ada7f7d3b708b9c
parent82bc9f515c93cdb66f87092c7e270b8de112919f
parent764161391f2dd3fc12a5bec1385e0ab40dd90fd6
Merge branch 'js/grep-mutex'

* js/grep-mutex:
  builtin/grep: simplify lock_and_read_sha1_file()
  builtin/grep: make lock/unlock into static inline functions
  git grep: be careful to use mutexes only when they are initialized