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() "{{{
30
30
echom pymodevar
31
31
endfor
32
32
" }}}
33
- " Github commit info. {{{
33
+ " Git commit info. {{{
34
34
" Find in the scriptnames the first occurence of 'python-mode'. Then parse
35
35
" the result outputting its path. This is in turn fed into the git command.
36
36
call pymode#debug (" Git commit: " )
@@ -44,6 +44,13 @@ fun! pymode#debug#sysinfo() "{{{
44
44
let l: git_head_sha1 = system (' git -C ' . expand (l: pymode_folder ). ' rev-parse HEAD ' )
45
45
echom join (filter (split (l: git_head_sha1 , ' \zs' ), ' v:val =~? "[0-9A-Fa-f]"' ), ' ' )
46
46
" }}}
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
+ " }}}
47
54
call pymode#debug (" End of pymode#debug#sysinfo" )
48
55
endfunction " }}}
49
56
You can’t perform that action at this time.
0 commit comments