Skip to content
Permalink
Browse files

Do not fail to push when a changed submodule is closed; all we need i…

…s the bare repo
  • Loading branch information
novalis committed Nov 15, 2019
1 parent af3500c commit 0582e9b0534f42443ab9eaabefd2455cf66871bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 node/lib/util/push.js
@@ -236,7 +236,7 @@ exports.push = co.wrap(function *(repo, remoteName, source, target, force) {
const sha = pushMap[subName];
const syntheticName =
SyntheticBranchUtil.getSyntheticBranchForCommit(sha);
const subRepo = yield SubmoduleUtil.getRepo(repo, subName);
const subRepo = yield SubmoduleUtil.getBareRepo(repo, subName);

// Resolve the submodule's URL against the URL of the meta-repo,
// ignoring the remote that is configured in the open submodule.

0 comments on commit 0582e9b

Please sign in to comment.
You can’t perform that action at this time.