summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-05-11 08:43:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-11 20:55:05 (GMT)
commitebf31e70bbea010c9bb505578ae29532445b5a4d (patch)
treea6c1b2272233adf916507afba154a4bd03694c7c /compat
parentf30afdabbfb9feeec402d351935879caf8b298ad (diff)
downloadgit-ebf31e70bbea010c9bb505578ae29532445b5a4d.zip
git-ebf31e70bbea010c9bb505578ae29532445b5a4d.tar.gz
git-ebf31e70bbea010c9bb505578ae29532445b5a4d.tar.bz2
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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/mingw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index c008694..3935cc8 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -416,9 +416,6 @@ int mingw_offset_1st_component(const char *path);
void mingw_open_html(const char *path);
#define open_html mingw_open_html
-void mingw_mark_as_git_dir(const char *dir);
-#define mark_as_git_dir mingw_mark_as_git_dir
-
/**
* Converts UTF-8 encoded string to UTF-16LE.
*