File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ fun! pymode#debug#sysinfo() "{{{
3030 echom pymodevar
3131 endfor
3232 " }}}
33- " Github commit info. {{{
33+ " Git commit info. {{{
3434 " Find in the scriptnames the first occurence of 'python-mode'. Then parse
3535 " the result outputting its path. This is in turn fed into the git command.
3636 call pymode#debug (" Git commit: " )
@@ -44,6 +44,13 @@ fun! pymode#debug#sysinfo() "{{{
4444 let l: git_head_sha1 = system (' git -C ' . expand (l: pymode_folder ). ' rev-parse HEAD ' )
4545 echom join (filter (split (l: git_head_sha1 , ' \zs' ), ' v:val =~? "[0-9A-Fa-f]"' ), ' ' )
4646 " }}}
47+ " Git submodules status. {{{
48+ call pymode#debug (" Git submodule status:" )
49+ let l: git_submodule_status = system (' git -C ' . expand (l: pymode_folder ). ' submodule status' )
50+ for submodule in split (l: git_submodule_status , ' \n' )
51+ echom submodule
52+ endfor
53+ " }}}
4754 call pymode#debug (" End of pymode#debug#sysinfo" )
4855endfunction " }}}
4956
You can’t perform that action at this time.
0 commit comments