Skip to content

Commit ebf31e7

Browse files
dschogitster
authored andcommitted
mingw: remove unnecessary definition
For some reason, the definition of the MINGW version of `mark_as_git_dir()` slipped into this developer's patch series to support building Git for Windows. As the `mark_as_git_dir()` function is not needed at all anymore (it was used originally to support the core.hideDotFiles = gitDirOnly setting, but we now use a different method to support that case), let's just remove it. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f30afda commit ebf31e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compat/mingw.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,6 @@ int mingw_offset_1st_component(const char *path);
416416
void mingw_open_html(const char *path);
417417
#define open_html mingw_open_html
418418

419-
void mingw_mark_as_git_dir(const char *dir);
420-
#define mark_as_git_dir mingw_mark_as_git_dir
421-
422419
/**
423420
* Converts UTF-8 encoded string to UTF-16LE.
424421
*

0 commit comments

Comments
 (0)