Skip to content

Commit d067d98

Browse files
draftcodegitster
authored andcommitted
builtin/send-pack: populate the default configs
builtin/send-pack didn't call git_default_config, and because of this git push --signed didn't respect the username and email in gitconfig in the HTTP transport. Signed-off-by: Masaya Suzuki <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a42a58d commit d067d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/send-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static int send_pack_config(const char *k, const char *v, void *cb)
120120
}
121121
}
122122
}
123-
return 0;
123+
return git_default_config(k, v, cb);
124124
}
125125

126126
int cmd_send_pack(int argc, const char **argv, const char *prefix)

0 commit comments

Comments
 (0)