Fix gitdir not being set when cloning. Needed for writing the p4 users cache.
tree4b567b367043d56ef6d0dee580b05cde29771ac5
drwxr-xr-x - contrib