diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-12-15 12:02:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-17 00:11:42 +0300 |
commit | 4322842acfaace812308f8aec0fe39a358f3c6f2 (patch) | |
tree | 31cb3e55eccfa2f4aa3d58985866a3870f85faf0 /Documentation/revisions.txt | |
parent | 32574b68c57f3b34e58216a4c9c6d570d11ec47b (diff) |
get_sha1: handle special case $commit^{/}
Empty regex pattern should always match. But the exact behavior of
regexec() may vary. Because it always matches anyway, we can just
return 'matched' without calling regex machinery.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/revisions.txt')
0 files changed, 0 insertions, 0 deletions