[Frugalware-darcs] git-hooks: checkout: unset GIT_DIR only in case it's set

VMiklos vmiklos at frugalware.org
Thu Jun 28 02:03:21 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=git-hooks;a=darcs_commitdiff;h=20070628000238-e2957-132917e01e4038adeeb501b3361717b97976cd1e.gz;

[checkout: unset GIT_DIR only in case it's set
VMiklos <vmiklos at frugalware.org>**20070628000238] {
hunk ./checkout/checkout.py 14
-	del os.environ['GIT_DIR']
+	if "GIT_DIR" in os.environ.keys():
+		del os.environ['GIT_DIR']
}


More information about the Frugalware-darcs mailing list