summaryrefslogtreecommitdiff
path: root/builtin/var.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-30 17:02:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-30 20:43:32 (GMT)
commitd6cd00c76866a6412e0c13da91a022acdd187a47 (patch)
treeb2b37077b5e3646bd880d3e49a0169c0de4232b9 /builtin/var.c
parent6dda4e60f2c3c309de6e3fe1b86a47846a86dabf (diff)
downloadgit-d6cd00c76866a6412e0c13da91a022acdd187a47.zip
git-d6cd00c76866a6412e0c13da91a022acdd187a47.tar.gz
git-d6cd00c76866a6412e0c13da91a022acdd187a47.tar.bz2
verify-pack: use strbuf_strip_suffix
In this code, we try to convert both "foo.idx" and "foo" into "foo.pack". By stripping the suffix, we can avoid a confusing use of strbuf_splice, and make it clear that both cases are adding ".pack" to the end. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/var.c')
0 files changed, 0 insertions, 0 deletions