Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix update-hook-example to work with packed tag references
The update-hook-example used 'test -f' to check the tag present, which does not work if the checked reference is packed. This check has been changed to use 'git rev-parse $tag' instead. Signed-off-by: Dmitry Potapov <dpotapov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information