Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/path-max-must-go'
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index 5bfa8416999d35d6bb5c615d86763f013b7df748..6ccd3a53f8fc6130000c4bf3ba4cd646f512de53 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-946,7
+946,7
@@
static int interpret_nth_prior_checkout(const char *name, int namelen,
retval = 0;
if (0 < for_each_reflog_ent_reverse("HEAD", grab_nth_branch_switch, &cb)) {
strbuf_reset(buf);
- strbuf_add
(buf, cb.buf.buf, cb.buf.len
);
+ strbuf_add
buf(buf, &cb.buf
);
retval = brace - name + 1;
}