Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote.c: report specific errors from branch_get_upstream
[gitweb.git]
/
builtin
/
for-each-ref.c
diff --git
a/builtin/for-each-ref.c
b/builtin/for-each-ref.c
index dc2a201a451fd3d276aa5030ef55789129f85bb3..18d209bc9a2c49909d891a5190e51f2dd0ea9156 100644
(file)
--- a/
builtin/for-each-ref.c
+++ b/
builtin/for-each-ref.c
@@
-664,7
+664,7
@@
static void populate_value(struct refinfo *ref)
continue;
branch = branch_get(ref->refname + 11);
- refname = branch_get_upstream(branch);
+ refname = branch_get_upstream(branch
, NULL
);
if (!refname)
continue;
} else if (starts_with(name, "color:")) {