File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -361,16 +361,13 @@ static char *remote_default_branch(const char *url)
361361
362362static int delete_enlistment (struct strbuf * enlistment )
363363{
364- #ifdef WIN32
365364 struct strbuf parent = STRBUF_INIT ;
366365 size_t offset ;
367366 char * path_sep ;
368- #endif
369367
370368 if (unregister_dir ())
371369 return error (_ ("failed to unregister repository" ));
372370
373- #ifdef WIN32
374371 /*
375372 * Change the current directory to one outside of the enlistment so
376373 * that we may delete everything underneath it.
@@ -385,7 +382,6 @@ static int delete_enlistment(struct strbuf *enlistment)
385382 return res ;
386383 }
387384 strbuf_release (& parent );
388- #endif
389385
390386 if (have_fsmonitor_support () && stop_fsmonitor_daemon ())
391387 return error (_ ("failed to stop the FSMonitor daemon" ));
You can’t perform that action at this time.
0 commit comments