Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information