t: prefer "git config --file" to GIT_CONFIG with test_must_fail
commit551a3e60d1cb9dca37a3a789cf1a4b94074ce6c5
authorJeff King <peff@peff.net>
Thu, 20 Mar 2014 23:15:54 +0000 (20 19:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 21:26:22 +0000 (21 14:26 -0700)
tree531a06a3ad944b2d2862a197b0509733e05e0a10
parent3cc6a6f0f7519733deeebe17d7a19a53e9c02028
t: prefer "git config --file" to GIT_CONFIG with test_must_fail

This lets us get rid of an extra "env" invocation in the
middle, and is slightly more readable.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-repo-config.sh