Re: [PATCH 3/3] get_sha1: support ref^{/regex} syntax
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 15, 2010, 00:50 UTC
- Message-ID
- <7vaak7rh9k.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1292209275-17451-3-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 5 quoted lines
> +test_expect_success 'ref^{/}' '
> + git rev-parse master >expected &&
> + git rev-parse master^{/} >actual &&
> + test_cmp expected actual
> +'This test fails on FBSD 8, which refuses to regcomp("") saying "empty (sub)expression", which is somewhat bogus.
I'd change it to "/." for now ;-).