Revision bec5ab8997c2391fa2241520f52f301397ebd538 authored by René Scharfe on 07 February 2017, 22:04:25 UTC, committed by Junio C Hamano on 08 February 2017, 21:38:41 UTC
Pass the match member of the first pathspec item directly to
read_directory() instead of using common_prefix() to duplicate it first,
thus avoiding memory duplication, strlen(3) and free(3).

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6e3a7b3
History
File Mode Size
bitmap.c -rw-r--r-- 4.9 KB
ewah_bitmap.c -rw-r--r-- 16.1 KB
ewah_io.c -rw-r--r-- 5.3 KB
ewah_rlw.c -rw-r--r-- 2.9 KB
ewok.h -rw-r--r-- 6.5 KB
ewok_rlw.h -rw-r--r-- 3.1 KB

back to top