author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 26 May 2008 02:18:01 +0000 (22:18 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 May 2008 03:29:30 +0000 (20:29 -0700) | ||
commit | 50b7b2ee99cb98265f847d91159cb3215c6f2379 | |
tree | c6dbaee226347778379ff0fcb0e0421098c9a96d | tree | snapshot |
parent | 97561fff3263add59ec25207a0c5a635b28ce9b9 | commit | diff |
Don't load missing ACL files in paranoid update hook
If a user or group ACL file does not exist in the current tip
revision of the acl repository we will get an error from cat-file
when we ask for that blob as it cannot be resolved. A quick look
at the history by rev-list can tell us if there is a path there
or not.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If a user or group ACL file does not exist in the current tip
revision of the acl repository we will get an error from cat-file
when we ask for that blob as it cannot be resolved. A quick look
at the history by rev-list can tell us if there is a path there
or not.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/update-paranoid | diff | blob | history |