truncate cwd string before printing error message
authorLars R. Damerow <lars@pixar.com>
Wed, 17 Mar 2010 19:55:52 +0000 (12:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Mar 2010 16:19:11 +0000 (09:19 -0700)
commit502ffe3491bb6a3aff3f93e7eea19c01cf30c337
treef6e983cec3e9c5716741b977364b9cb1e113e078
parent0ef37164c2e453e8348fee05e50d3a4ed6d69f6b
truncate cwd string before printing error message

Without this truncation the error message printed only shows the cwd
from the start of the search, not where it failed.

Signed-off-by: Lars R. Damerow <lars@pixar.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c