git-var: make it work in subdirectory.
authorJunio C Hamano <junkio@cox.net>
Thu, 24 Nov 2005 09:31:01 +0000 (01:31 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 25 Nov 2005 23:16:35 +0000 (15:16 -0800)
commit5d318ce6a9fb18448e4a1a9b61d355d391ddc5ec
treea50a756f434b5e97778ddcd36788bcbce19b3e1c
parentae2b0f15180d4b044828c836bcab6a990efa5c8e
git-var: make it work in subdirectory.

Use setup_git_directory() so that it can find its .git
directory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
var.c