Skip to content

Commit 098cb63

Browse files
committed
Move git module location
1 parent 315dc09 commit 098cb63

6 files changed

Lines changed: 11 additions & 6 deletions

File tree

advanced_new_file/commands/delete_file_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sublime_plugin
44
import sys
55
from ..anf_util import *
6-
from .git.git_command_base import GitCommandBase
6+
from ..vcs.git.git_command_base import GitCommandBase
77
from .command_base import AdvancedNewFileBase
88

99

advanced_new_file/commands/move_file_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import shutil
44
import sublime_plugin
55

6-
from .git.git_command_base import GitCommandBase
6+
from ..vcs.git.git_command_base import GitCommandBase
77
from .command_base import AdvancedNewFileBase
88
from ..anf_util import *
99

advanced_new_file/reloader.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
reload_mods.append(mod)
2222

2323
mods_load_order = [
24+
'',
2425
'.anf_util',
2526
'.completion_base',
2627

@@ -32,10 +33,12 @@
3233
".platform.windows_platform",
3334
".platform.nix_platform",
3435

36+
".vcs",
37+
".vcs.git",
38+
".vcs.git.git_command_base",
39+
3540
".commands",
3641
".commands.command_base",
37-
".commands.git",
38-
".commands.git.git_command_base",
3942
".commands.helper_commands",
4043
'.commands.new_file_command',
4144
".commands.move_file_command",
File renamed without changes.

advanced_new_file/vcs/git/__init__.py

Whitespace-only changes.

advanced_new_file/commands/git/git_command_base.py renamed to advanced_new_file/vcs/git/git_command_base.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import sublime
22
import subprocess
3+
import os
34
from ...anf_util import *
45

56

@@ -30,11 +31,12 @@ def find_git():
3031
# /usr/local/bin:/usr/local/git/bin
3132
if os.name == 'nt':
3233
extra_paths = (
33-
os.path.join(os.environ["ProgramFiles"], "Git", "bin"),
34+
os.path.join(os.environ["ProgramFiles"], "Git", "bin"),
3435
)
3536
if IS_X64:
3637
extra_paths = extra_paths + (
37-
os.path.join(os.environ["ProgramFiles(x86)"], "Git", "bin"),
38+
os.path.join(
39+
os.environ["ProgramFiles(x86)"], "Git", "bin"),
3840
)
3941
else:
4042
extra_paths = (

0 commit comments

Comments
 (0)