Merge branch 'jk/shallow-update-fix'
commit3e14384b126cf9911a35dfda21f04abd4199aa54
authorJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:33:29 +0000 (21 12:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:33:29 +0000 (21 12:33 -0700)
tree6970fdb221b531fda063389f03db7b6d0fc7dbfb
parent4291cc10e6b8f720570d612e9d54d5ecd57986c9
parent7839632167bc6ceef20f28bd046f7001493b070f
Merge branch 'jk/shallow-update-fix'

Serving objects from a shallow repository needs to write a
new file to hold the temporary shallow boundaries but it was not
cleaned when we exit due to die() or a signal.

* jk/shallow-update-fix:
  shallow: verify shallow file after taking lock
  shallow: automatically clean up shallow tempfiles
  shallow: use stat_validity to check for up-to-date file
fetch-pack.c
upload-pack.c