diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-05-18 07:15:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-18 11:26:10 -0700 |
commit | c51a351a6bcc64ad8cb2ed5a6ebde54b8d50eef1 (patch) | |
tree | 2dba4441dbdf527c5a37c8c071c63a1f349f1ff5 /blob.h | |
parent | d0f1ea6003d97e63110fa7d50bb07f546a909b6e (diff) | |
download | git-c51a351a6bcc64ad8cb2ed5a6ebde54b8d50eef1.tar.gz |
archive: simplify refname handling
There is no need to build a copy of the relevant part of the string just
to make sure we have a NUL-terminated string. We can simply pass the
length of the interesting part to dwim_ref() instead.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blob.h')
0 files changed, 0 insertions, 0 deletions