File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lua/neo-tree/sources/git_status Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,14 @@ M.git_commit = function (state, and_push)
3838 inputs .input (" Commit message: " , " " , function (msg )
3939 msg = msg :gsub (' "' , " '" )
4040 local cmd = " git commit -m \" " .. msg .. " \" "
41+ local title = " git commit"
4142 if and_push then
4243 cmd = cmd .. " && git push"
44+ title = " git commit && git push"
4345 end
4446 local result = vim .fn .systemlist (cmd )
4547 gs .refresh ()
46- popups .alert (" Commit Results " , result )
48+ popups .alert (title , result )
4749 end , popup_options )
4850end
4951
@@ -56,7 +58,7 @@ M.git_push = function (state)
5658 if yes then
5759 local result = vim .fn .systemlist (" git push" )
5860 gs .refresh ()
59- popups .alert (" Git Push " , result )
61+ popups .alert (" git push " , result )
6062 end
6163 end )
6264end
You can’t perform that action at this time.
0 commit comments