mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
Fix compat with fixed typo in function names
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,32 +22,32 @@
|
|||||||
<VCProjectVersion>15.0</VCProjectVersion>
|
<VCProjectVersion>15.0</VCProjectVersion>
|
||||||
<ProjectGuid>{574C5E6A-EDEC-41A6-BDF7-4106698F80B0}</ProjectGuid>
|
<ProjectGuid>{574C5E6A-EDEC-41A6-BDF7-4106698F80B0}</ProjectGuid>
|
||||||
<RootNamespace>godotgitplugin</RootNamespace>
|
<RootNamespace>godotgitplugin</RootNamespace>
|
||||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ void GitAPI::_register_methods() {
|
|||||||
register_method("_process", &GitAPI::_process);
|
register_method("_process", &GitAPI::_process);
|
||||||
|
|
||||||
register_method("_commit", &GitAPI::_commit);
|
register_method("_commit", &GitAPI::_commit);
|
||||||
register_method("_get_is_vcs_intialized", &GitAPI::_get_is_vcs_intialized);
|
register_method("_is_vcs_initialized", &GitAPI::_is_vcs_initialized);
|
||||||
register_method("_get_modified_files_data", &GitAPI::_get_modified_files_data);
|
register_method("_get_modified_files_data", &GitAPI::_get_modified_files_data);
|
||||||
register_method("_get_file_diff", &GitAPI::_get_file_diff);
|
register_method("_get_file_diff", &GitAPI::_get_file_diff);
|
||||||
register_method("_get_project_name", &GitAPI::_get_project_name);
|
register_method("_get_project_name", &GitAPI::_get_project_name);
|
||||||
@@ -165,7 +165,7 @@ void GitAPI::create_initial_commit() {
|
|||||||
git_signature_free(sig);
|
git_signature_free(sig);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GitAPI::_get_is_vcs_intialized() {
|
bool GitAPI::_is_vcs_initialized() {
|
||||||
|
|
||||||
return is_initialized;
|
return is_initialized;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ class GitAPI : public EditorVCSInterface {
|
|||||||
|
|
||||||
static GitAPI *singleton;
|
static GitAPI *singleton;
|
||||||
|
|
||||||
|
bool is_initialized;
|
||||||
|
|
||||||
Array staged_files;
|
Array staged_files;
|
||||||
|
|
||||||
PanelContainer *init_settings_panel_container;
|
PanelContainer *init_settings_panel_container;
|
||||||
@@ -30,7 +32,7 @@ class GitAPI : public EditorVCSInterface {
|
|||||||
git_repository *repo;
|
git_repository *repo;
|
||||||
|
|
||||||
void _commit(const String p_msg);
|
void _commit(const String p_msg);
|
||||||
bool _get_is_vcs_intialized();
|
bool _is_vcs_initialized();
|
||||||
Dictionary _get_modified_files_data();
|
Dictionary _get_modified_files_data();
|
||||||
Array _get_file_diff(const String file_path);
|
Array _get_file_diff(const String file_path);
|
||||||
String _get_project_name();
|
String _get_project_name();
|
||||||
@@ -45,7 +47,6 @@ public:
|
|||||||
|
|
||||||
static GitAPI *get_singleton() { return singleton; }
|
static GitAPI *get_singleton() { return singleton; }
|
||||||
|
|
||||||
bool is_initialized;
|
|
||||||
Array diff_contents;
|
Array diff_contents;
|
||||||
|
|
||||||
void create_gitignore_and_gitattributes();
|
void create_gitignore_and_gitattributes();
|
||||||
|
|||||||
Reference in New Issue
Block a user