Code

var: Don't require to be in a git repository.
authorFrank Lichtenheld <frank@lichtenheld.de>
Fri, 14 Mar 2008 17:29:27 +0000 (18:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Mar 2008 08:43:56 +0000 (01:43 -0700)
commit2fba8366ed1e77685c83bbb0fa353c11624f0121
tree0845e279cf6f89585e7d8cb477c4b1236051bdf2
parent1658c6149ac4462c874810c760507040122917e8
var: Don't require to be in a git repository.

git var works fine even when not called in a git repository. So
don't require it.

This will make it possible to remove this pre-condition for some
other git commands as well.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
var.c