Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pack-write: simplify index_pack_lockfile using skip_prefix() and xstr…
…fmt() Get rid of magic string length constants by using skip_prefix() instead of memcmp() and use xstrfmt() for building a string instead of a PATH_MAX-sized buffer, snprintf() and xstrdup(). Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information