Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit af84456

Browse files
dschokblees
authored andcommitted
Let deny.currentBranch=updateInstead ignore submodules
They are not affected by the update anyway. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f6ef373 commit af84456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/receive-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ static int update_shallow_ref(struct command *cmd, struct shallow_info *si)
478478
static void merge_worktree(unsigned char *sha1)
479479
{
480480
const char *update_refresh[] = {
481-
"update-index", "--refresh", NULL
481+
"update-index", "--ignore-submodules", "--refresh", NULL
482482
};
483483
const char *read_tree[] = {
484484
"read-tree", "-u", "-m", sha1_to_hex(sha1), NULL

0 commit comments

Comments
 (0)