daemon: deglobalize variable 'directory'
commita47551c3828f81ec88d5b0b3d05887f1a7a4233a
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 22 Nov 2008 23:21:52 +0000 (23 00:21 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Nov 2008 03:56:36 +0000 (23 19:56 -0800)
treec5f5c9ca22982993c7c3194debc2869b1d1c7085
parentd433ed0bb49b947e3bb05d6474cf328c75ffa57d
daemon: deglobalize variable 'directory'

Remove the global variable 'directory' and pass it as a parameter of
the two functions that use it instead, (almost) restoring their
interface to how it was before 49ba83fb67d9e447b86953965ce5f949c6a93b81.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c