gitattributes: drop support for GIT_ATTR_NOGLOBAL
commite91b6c504961a147f0ab4e2fc05be914f881290a
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 15 Mar 2011 09:04:15 +0000 (15 04:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Mar 2011 19:23:29 +0000 (15 12:23 -0700)
tree0b09daf4780e8940da752418762260871576e2cb
parent3c995beb14b7aef9fa724cde9d2b7a4ea4ae53cc
gitattributes: drop support for GIT_ATTR_NOGLOBAL

test-lib sets $HOME to protect against pollution from user settings,
so setting GIT_ATTR_NOGLOBAL would be redundant.  Simplify by
eliminating support for that environment variable altogether.

GIT_ATTR_NOGLOBAL was introduced in v1.7.4-rc0~208^2 (Add global and
system-wide gitattributes, 2010-09-01) as an undocumented feature for
use by the test suite.  It never ended up being used (neither within
git.git nor in other projects).

This patch does not affect GIT_ATTR_NOSYSTEM, which should still be
useful.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c