aboutsummaryrefslogtreecommitdiffstats
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-11 10:58:16 -0700
committerJunio C Hamano <gitster@pobox.com>2020-03-11 10:58:16 -0700
commit5fa9169ced8f874910cf4cf289a650d65f52df22 (patch)
treecabde11cf046e13183cdf5d69746a3bb2bea5382 /remote.h
parentcdef998b4619cb9acfe2955fcbe9db0ea2f46d33 (diff)
parentaf8ccd8ade1e2dd1bf332067b98dd4459e29c1d3 (diff)
downloadgit-5fa9169ced8f874910cf4cf289a650d65f52df22.tar.gz
Merge branch 'dr/push-remote-ref-update'
Code clean-up. * dr/push-remote-ref-update: remote: drop "explicit" parameter from remote_ref_for_branch()
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/remote.h b/remote.h
index b134cc21be..11d8719b58 100644
--- a/remote.h
+++ b/remote.h
@@ -261,8 +261,7 @@ struct branch {
struct branch *branch_get(const char *name);
const char *remote_for_branch(struct branch *branch, int *explicit);
const char *pushremote_for_branch(struct branch *branch, int *explicit);
-const char *remote_ref_for_branch(struct branch *branch, int for_push,
- int *explicit);
+const char *remote_ref_for_branch(struct branch *branch, int for_push);
/* returns true if the given branch has merge configuration given. */
int branch_has_merge_config(struct branch *branch);