author | Paolo Bonzini <bonzini@gnu.org> | |
Thu, 29 May 2008 14:55:53 +0000 (16:55 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 31 May 2008 21:33:59 +0000 (14:33 -0700) | ||
commit | ad5fa3cc0e115a8b111868af2f727322feb144cb | |
tree | 09d7ab5a909bd1cc63e2ce3be8cacf73324fcaf9 | tree | snapshot |
parent | c16570c42a748a29031281badd4762dd4e71d3d0 | commit | diff |
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>
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 | diff | blob | history | |
lockfile.c | diff | blob | history | |
t/t7502-commit.sh | diff | blob | history |