File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,13 @@ const doStatusCommand = co.wrap(function *(paths, verbose) {
171171 const relCwd = path . relative ( workdir , cwd ) ;
172172 const head = yield repo . getHeadCommit ( ) ;
173173 const tree = yield head . getTree ( ) ;
174+ paths = paths . map ( filename => {
175+ return GitUtil . resolveRelativePath ( workdir , cwd , filename ) ;
176+ } ) ;
174177 const status = yield StatusUtil . getRepoStatus ( repo , {
175178 paths : paths ,
176179 showMetaChanges : false ,
177180 } ) ;
178- paths = paths . map ( filename => {
179- return GitUtil . resolveRelativePath ( workdir , cwd , filename ) ;
180- } ) ;
181181 const urls = yield SubmoduleConfigUtil . getSubmodulesFromCommit ( repo , head ) ;
182182 const allSubs = Object . keys ( urls ) ;
183183 const subs = status . submodules ;
You can’t perform that action at this time.
0 commit comments