rollback lock files on more signals than just SIGINT
commitad5fa3cc0e115a8b111868af2f727322feb144cb
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 29 May 2008 14:55:53 +0000 (29 16:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 May 2008 21:33:59 +0000 (31 14:33 -0700)
tree09d7ab5a909bd1cc63e2ce3be8cacf73324fcaf9
parentc16570c42a748a29031281badd4762dd4e71d3d0
rollback lock files on more signals than just SIGINT

Other signals are also common, for example SIGTERM and SIGHUP.
This patch modifies the lock file mechanism to catch more signals.
It also modifies http-push.c which was missing SIGTERM.

Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c
lockfile.c
t/t7502-commit.sh