Skip to content

Commit

Permalink
Merge branch 'fix-submodule-dot'
Browse files Browse the repository at this point in the history
  • Loading branch information
novalis committed Sep 1, 2021
2 parents 3c498c9 + 2b7751c commit d5e7c73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/lib/cmd/submodule.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ const doStatusCommand = co.wrap(function *(paths, verbose) {
const relCwd = path.relative(workdir, cwd);
const head = yield repo.getHeadCommit();
const tree = yield head.getTree();
paths = paths.map(filename => {
return GitUtil.resolveRelativePath(workdir, cwd, filename);
});
const status = yield StatusUtil.getRepoStatus(repo, {
paths: paths,
showMetaChanges: false,
});
paths = paths.map(filename => {
return GitUtil.resolveRelativePath(workdir, cwd, filename);
});
const urls = yield SubmoduleConfigUtil.getSubmodulesFromCommit(repo, head);
const allSubs = Object.keys(urls);
const subs = status.submodules;
Expand Down

0 comments on commit d5e7c73

Please sign in to comment.