author | Jonathan Nieder <jrnieder@gmail.com> | |
Mon, 12 Oct 2009 05:33:01 +0000 (00:33 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Oct 2009 05:19:35 +0000 (22:19 -0700) | ||
commit | 1ba447b8dc2ec4e6c8ebbbdaa449f38edc29ad3f | |
tree | 86e65a3309a7bbcc7e9cfb0ba9e93d117f1634ad | tree | snapshot |
parent | 38eedc634bc5d30e8a7a2356d9eb3ae95d9b1d75 | commit | diff |
check-ref-format: simplify --print implementation
normalize_path_copy() is a complicated function, but most of its
functionality will never apply to a ref name that has been checked
with check_ref_format().
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
normalize_path_copy() is a complicated function, but most of its
functionality will never apply to a ref name that has been checked
with check_ref_format().
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-check-ref-format.c | diff | blob | history |