summaryrefslogtreecommitdiff
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-05-22 20:50:58 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-22 13:32:26 -0700
commitdd02e72852280d73bfd845703476b230475b2776 (patch)
tree2abb0bb47e7804e3a25dada2d85e1e6b38e1e07f /git-cvsserver.perl
parentb9146f517a312fed42d12b32e3ee3bd99944121d (diff)
downloadgit-dd02e72852280d73bfd845703476b230475b2776.tar.gz
refs: use strings directly in find_containing_dir()
Convert the parameter subdirname of search_for_subdir() to a length-limted string and then simply pass the interesting slice of the refname from find_containing_dir(), thereby avoiding to duplicate the string. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions