git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a42a58d
)
builtin/send-pack: populate the default configs
author
Masaya Suzuki
<redacted>
Tue, 12 Jun 2018 17:26:23 +0000
(10:26 -0700)
committer
Junio C Hamano
<redacted>
Tue, 12 Jun 2018 17:53:10 +0000
(10:53 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/send-pack.c
patch
|
blob
|
history
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index fc4f0bb5fbc033604a13a147094c0d1bc661db17..997a8488957a469acdfa3ebae41f5ccf56ddc045 100644
(file)
--- a/
builtin/send-pack.c
+++ b/
builtin/send-pack.c
@@
-120,7
+120,7
@@
static int send_pack_config(const char *k, const char *v, void *cb)
}
}
}
- return
0
;
+ return
git_default_config(k, v, cb)
;
}
int cmd_send_pack(int argc, const char **argv, const char *prefix)
git clone https://git.99rst.org/PROJECT