Unable to delete or push tag
- Sublime Text version number: Build 3159 (happens under previous versions also)
- Git version number: 2.14.2
- OS type and version: MacOS 10.13.3
- Console error output:
```
`/usr/local/bin/git tag -d 7 v1.77` failed with following output:

error: tag '7 v1.77' not found.
```
- A description of the problem:
I found the `[d] delete` and `[p] push to remote` commands cannot properly parse the tag. For tags displayed as below in TAGS view:
```
  LOCAL:
    1160e4b17 v1.77
    4a719e149 v1.73
    ... ...
```
`delete` and `push` commands will always grab the last character of the commit id + the tag id (e.g. `7 v1.77`,  `9 v1.73`), but `[l] view commit` command can correct parse and display the tag


diff --git a/core/interfaces/tags.py b/core/interfaces/tags.py
index f06a1530..f23a8508 100644
--- a/core/interfaces/tags.py
+++ b/core/interfaces/tags.py
@@ -20,6 +20,15 @@ START_PUSH_MESSAGE = "Pushing tag..."
 END_PUSH_MESSAGE = "Push complete."
 
 
+def tag_from_lines(lines):
+    tags = []
+    for line in lines:
+        m = line.strip().split(" ", 1)
+        if len(m) == 2:
+            tags.append(m[1].strip())
+    return tags
+
+
 class GsShowTagsCommand(WindowCommand, GitCommand):
 
     """
@@ -227,7 +236,7 @@ class GsTagsDeleteCommand(TextCommand, GitCommand):
 
     def delete_local(self, interface):
         lines = interface.get_selection_lines_in_region("local_tags")
-        tags_to_delete = tuple(line[12:].strip() for line in lines if line)
+        tags_to_delete = tag_from_lines(lines)
 
         if not tags_to_delete:
             return
@@ -244,7 +253,7 @@ class GsTagsDeleteCommand(TextCommand, GitCommand):
 
         for remote_name, remote in interface.remotes.items():
             lines = interface.get_selection_lines_in_region("remote_tags_list_" + remote_name)
-            tags_to_delete = tuple(line[12:].strip() for line in lines if line[:4] == "    ")
+            tags_to_delete = tag_from_lines(lines)
 
             if tags_to_delete:
                 self.git(
@@ -295,7 +304,7 @@ class GsTagsPushCommand(TextCommand, GitCommand):
 
         interface = ui.get_interface(self.view.id())
         lines = interface.get_selection_lines_in_region("local_tags")
-        tags_to_push = tuple(line[12:].strip() for line in lines if line)
+        tags_to_push = tag_from_lines(lines)
 
         self.view.window().status_message(START_PUSH_MESSAGE)
         self.git("push", remote, *("refs/tags/" + tag for tag in tags_to_push))
['core/interfaces/tags.py']