Revert "completion: fix shell expansion of items"
authorJeff King <peff@peff.net>
Tue, 25 Sep 2012 04:31:19 +0000 (00:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Sep 2012 16:00:28 +0000 (09:00 -0700)
commit666ca59a8c88e1750386fa64c7ed4be698fd1b2a
tree57db9f9cf60a5dbff1b4f87ed53475b56f285c73
parent1a002c73ba63799dda75a4c28da5b562eea7a3ff
Revert "completion: fix shell expansion of items"

This reverts commit 25ae7cfd19c8f21721363c64163cd5d9d1135b20.

That patch does fix expansion of weird variables in some
simple tests, but it also seems to break other things, like
expansion of refs by "git checkout".

While we're sorting out the correct solution, we are much
better with the original bug (people with metacharacters in
their completions occasionally see an error message) than
the current bug (ref completion does not work at all).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash