Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout: avoid unnecessary match_pathspec calls
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index dce7128daf8487a61e8d2f35cf15fca618964f86..be389dc9bf5161c31be29e3a72264fd6120a0bbc 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-190,7
+190,7
@@
static int interpret_target(struct walker *walker, char *target, unsigned char *
{
if (!get_sha1_hex(target, sha1))
return 0;
- if (!check_ref
_format(target
)) {
+ if (!check_ref
name_format(target, 0
)) {
struct ref *ref = alloc_ref(target);
if (!walker->fetch_ref(walker, ref)) {
hashcpy(sha1, ref->old_sha1);