X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=fsck-cache.c;h=e53d01a40ffd98f1cb3a571776b0e050551938f1;hb=6e7722e6f88c049f43a1c00c45c502542d1a5752;hp=ca24a1b8449d71195a0e798bce4ec27167bf0aac;hpb=c7c81b3a51de2778535c8bb18d42a4bb7dfd57bc;p=git.git diff --git a/fsck-cache.c b/fsck-cache.c index ca24a1b8..e53d01a4 100644 --- a/fsck-cache.c +++ b/fsck-cache.c @@ -454,7 +454,7 @@ int main(int argc, char **argv) if (standalone && check_full) die("Only one of --standalone or --full can be used."); if (standalone) - unsetenv("GIT_ALTERNATE_OBJECT_DIRECTORIES"); + putenv("GIT_ALTERNATE_OBJECT_DIRECTORIES="); fsck_head_link(); fsck_object_dir(get_object_directory());