Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote.c: hoist branch.*.remote lookup out of remote_get_1
[gitweb.git]
/
remote.h
diff --git
a/remote.h
b/remote.h
index 4bb667273575c038b4238dc14b1181cd07582b68..2a7e7a698b92afc722247be578a442f0b0f60bda 100644
(file)
--- a/
remote.h
+++ b/
remote.h
@@
-211,6
+211,7
@@
struct branch {
};
struct branch *branch_get(const char *name);
+const char *remote_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 *);