diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-06-25 07:22:36 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-07-01 12:44:57 -0700 |
| commit | 3d5b23a36218b0417a056fa7b5e6d25d595ccaf2 (patch) | |
| tree | 5119c12cb1a1539f63a63df259d456340f7ebfd6 /t/helper/test-regex.c | |
| parent | grep/pcre: support utf-8 (diff) | |
| download | git-3d5b23a36218b0417a056fa7b5e6d25d595ccaf2.tar.gz git-3d5b23a36218b0417a056fa7b5e6d25d595ccaf2.zip | |
diffcore-pickaxe: Add regcomp_or_die()
There's another regcomp code block coming in this function that needs
the same error handling. This function can help avoid duplicating
error handling code.
Helped-by: Jeff King <peff@peff.com>
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 't/helper/test-regex.c')
0 files changed, 0 insertions, 0 deletions
