remote.c: provide per-branch pushremote name
[gitweb.git] / remote.h
index 2a7e7a698b92afc722247be578a442f0b0f60bda..30a11dac103d778577760ac0f62f0d9c8a240d98 100644 (file)
--- a/remote.h
+++ b/remote.h
@@ -203,6 +203,7 @@ struct branch {
        const char *refname;
 
        const char *remote_name;
+       const char *pushremote_name;
 
        const char **merge_name;
        struct refspec **merge;
@@ -212,6 +213,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);
 
 int branch_has_merge_config(struct branch *branch);
 int branch_merge_matches(struct branch *, int n, const char *);