diff options
author | René Scharfe <l.s.r@web.de> | 2014-08-30 11:47:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-02 10:37:24 -0700 |
commit | d773144417b1a87b4529144ab0530ecfea103754 (patch) | |
tree | 5012713e0fadd1c24db5ecdef3fd30b6b26cacf8 /Documentation/git-send-email.txt | |
parent | be0b3f822b6375028b25f62894056e63cb7c3ce4 (diff) | |
download | git-rs/furhter-uses-of-skip-prefix.tar.gz |
pack-write: simplify index_pack_lockfile using skip_prefix() and xstrfmt()rs/further-uses-of-skip-prefixrs/furhter-uses-of-skip-prefix
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>
Diffstat (limited to 'Documentation/git-send-email.txt')
0 files changed, 0 insertions, 0 deletions