@@ -37,12 +37,12 @@ def get_blame_text(self, path, **kwargs):
37
37
cli_args .extend (["--" , os .path .basename (path )])
38
38
return self .run_git (path , cli_args )
39
39
40
- def get_commit_text (self , sha , path ):
40
+ def get_commit_fulltext (self , sha , path ):
41
41
cli_args = ["show" , "--no-color" , sha ]
42
42
return self .run_git (path , cli_args )
43
43
44
- def get_commit_message_first_line (self , sha , path ):
45
- cli_args = ["show" , sha , "--pretty=format:%s" , "--no-patch" ]
44
+ def get_commit_message_subject (self , sha , path ):
45
+ cli_args = ["show" , "--no-color" , sha , "--pretty=format:%s" , "--no-patch" ]
46
46
return self .run_git (path , cli_args )
47
47
48
48
@classmethod
@@ -97,7 +97,7 @@ def handle_phantom_button(self, href):
97
97
elif url .path == "show" :
98
98
sha = querystring ["sha" ][0 ]
99
99
try :
100
- desc = self .get_commit_text (sha , self ._view ().file_name ())
100
+ desc = self .get_commit_fulltext (sha , self ._view ().file_name ())
101
101
except Exception as e :
102
102
self .communicate_error (e )
103
103
return
0 commit comments