Merge branch 'jk/strip-suffix'
commit6e4094731acee5207595a8416d19508107ea475d
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 18:25:59 +0000 (16 11:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 18:26:00 +0000 (16 11:26 -0700)
treea04d3fe754e34c91216f3a5e2f5450a705fd969d
parentd518cc0a56b8b22a5d085be8710f082dbabfe1b3
parent47bf4b0fc52f3ad5823185a85f5f82325787c84b
Merge branch 'jk/strip-suffix'

* jk/strip-suffix:
  prepare_packed_git_one: refactor duplicate-pack check
  verify-pack: use strbuf_strip_suffix
  strbuf: implement strbuf_strip_suffix
  index-pack: use strip_suffix to avoid magic numbers
  use strip_suffix instead of ends_with in simple cases
  replace has_extension with ends_with
  implement ends_with via strip_suffix
  add strip_suffix function
  sha1_file: replace PATH_MAX buffer with strbuf in prepare_packed_git_one()
builtin/index-pack.c
builtin/remote.c
builtin/repack.c
git-compat-util.h
help.c
refs.c
sha1_file.c
strbuf.c
strbuf.h