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)
361
361
362
362
static int delete_enlistment (struct strbuf * enlistment )
363
363
{
364
- #ifdef WIN32
365
364
struct strbuf parent = STRBUF_INIT ;
366
365
size_t offset ;
367
366
char * path_sep ;
368
- #endif
369
367
370
368
if (unregister_dir ())
371
369
return error (_ ("failed to unregister repository" ));
372
370
373
- #ifdef WIN32
374
371
/*
375
372
* Change the current directory to one outside of the enlistment so
376
373
* that we may delete everything underneath it.
@@ -385,7 +382,6 @@ static int delete_enlistment(struct strbuf *enlistment)
385
382
return res ;
386
383
}
387
384
strbuf_release (& parent );
388
- #endif
389
385
390
386
if (have_fsmonitor_support () && stop_fsmonitor_daemon ())
391
387
return error (_ ("failed to stop the FSMonitor daemon" ));
You can’t perform that action at this time.
0 commit comments