Code

get_sha1: support $commit^{/regex} syntax
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 13 Dec 2010 03:01:15 +0000 (10:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2010 00:50:45 +0000 (16:50 -0800)
commit32574b68c57f3b34e58216a4c9c6d570d11ec47b
treeecadd84fa1d6fe7e15c77969b32257a7baf26de2
parent84baa31bcb6925b06dd1b9aaa1ed6f7a725e64cc
get_sha1: support $commit^{/regex} syntax

This works like ":/regex" syntax that finds a recently created commit
starting from all refs, but limits the discovery to those reachable from
the named commit.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/revisions.txt
sha1_name.c
t/t1511-rev-parse-caret.sh [new file with mode: 0755]