Merge branch 'hu/cherry-pick-previous-branch'
[gitweb.git] / revision.c
index 172b0d3b2c090c4b0bcce40b5cb19d5e544a0aed..0173e0148b850bd1a3e2e7e5c652050ade6d5ba4 100644 (file)
@@ -200,7 +200,7 @@ static void add_pending_object_with_mode(struct rev_info *revs,
                revs->no_walk = 0;
        if (revs->reflog_info && obj->type == OBJ_COMMIT) {
                struct strbuf buf = STRBUF_INIT;
-               int len = interpret_branch_name(name, &buf);
+               int len = interpret_branch_name(name, 0, &buf);
                int st;
 
                if (0 < len && name[len] && buf.len)