apply --root: thinkofix.
commit8ee4a6c2ec6738cfbc815dc59e44825f2a9b9f15
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2008 22:28:22 +0000 (2 15:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2008 22:28:22 +0000 (2 15:28 -0700)
tree16528347bad184d2439fa0e9b6fc559e9bf53b95
parentc4730f35cc6507bc117a08885d88668fe02b1a7d
apply --root: thinkofix.

The end of a string is string[length-1], not string[length+1].
I pointed it out during the review, but I forgot about it when applying the
patch.  This should fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c
t/t4128-apply-root.sh