Skip to content

Commit 6097648

Browse files
committed
Fix shelf change list show dot files
1 parent 2c71815 commit 6097648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/project/git.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,12 +1259,12 @@ function! s:UpdateShelfChangelist()
12591259
if !isdirectory(shelf_folder)
12601260
return
12611261
endif
1262-
let cmd = 'ls '.shelf_folder
1262+
let cmd = 'ls -a '.shelf_folder
12631263
let folder_names = project#RunShellCmd(cmd)
12641264
for folder_name in folder_names
12651265
let folder_path = shelf_folder.'/'.folder_name
12661266
if isdirectory(folder_path)
1267-
let folder_path_cmd = 'ls '.folder_path
1267+
let folder_path_cmd = 'ls -a '.folder_path
12681268
let files = project#RunShellCmd(folder_path_cmd)
12691269
call s:UpdateFolderOrNew(folder_name, files)
12701270
endif

0 commit comments

Comments
 (0)