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
File | Mode | Size |
---|---|---|
Git | ||
.gitignore | -rw-r--r-- | 79 bytes |
Git.pm | -rw-r--r-- | 46.9 KB |
Makefile | -rw-r--r-- | 2.2 KB |
Makefile.PL | -rw-r--r-- | 1.6 KB |
private-Error.pm | -rw-r--r-- | 18.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...