Skip to content

Commit

Permalink
Other: just make sure the commands are named after the dashboard name
Browse files Browse the repository at this point in the history
We are using similar naming rule for Branches
  • Loading branch information
randy3k committed Jul 18, 2017
1 parent e51c47a commit 046114f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
{
"caption": "git: push all tags",
"command": "gs_tag_push",
"command": "gs_tags_push",
"args": { "push_all": true }
},
{
Expand Down
8 changes: 4 additions & 4 deletions Default.sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
},
{
"keys": ["l"],
"command": "gs_tag_view_log",
"command": "gs_tags_view_log",
"context": [
{ "key": "setting.command_mode", "operator": "equal", "operand": false },
{ "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true },
Expand All @@ -780,7 +780,7 @@
},
{
"keys": ["d"],
"command": "gs_tag_delete",
"command": "gs_tags_delete",
"context": [
{ "key": "setting.command_mode", "operator": "equal", "operand": false },
{ "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true },
Expand All @@ -805,7 +805,7 @@
},
{
"keys": ["p"],
"command": "gs_tag_push",
"command": "gs_tags_push",
"context": [
{ "key": "setting.command_mode", "operator": "equal", "operand": false },
{ "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true },
Expand All @@ -814,7 +814,7 @@
},
{
"keys": ["P"],
"command": "gs_tag_push",
"command": "gs_tags_push",
"args": { "push_all": true },
"context": [
{ "key": "setting.command_mode", "operator": "equal", "operand": false },
Expand Down
6 changes: 3 additions & 3 deletions core/interfaces/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def run(self, edit, reset_remotes=False):
util.view.refresh_gitsavvy(self.view)


class GsTagDeleteCommand(TextCommand, GitCommand):
class GsTagsDeleteCommand(TextCommand, GitCommand):

"""
Delete selected tag(s).
Expand Down Expand Up @@ -257,7 +257,7 @@ def delete_remote(self, interface):
util.view.refresh_gitsavvy(self.view)


class GsTagPushCommand(TextCommand, GitCommand):
class GsTagsPushCommand(TextCommand, GitCommand):

"""
Displays a panel of all remotes defined for the repository, then push
Expand Down Expand Up @@ -317,7 +317,7 @@ def push_all(self, remote_idx):
util.view.refresh_gitsavvy(self.view)


class GsTagViewLogCommand(TextCommand, GitCommand):
class GsTagsViewLogCommand(TextCommand, GitCommand):

"""
Display the commit for the selected tag's hash.
Expand Down

0 comments on commit 046114f

Please sign in to comment.