Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'hu/cherry-pick-previous-branch'
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 172b0d3b2c090c4b0bcce40b5cb19d5e544a0aed..0173e0148b850bd1a3e2e7e5c652050ade6d5ba4 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-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)