Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Avoid accessing a slow working copy during diffcore operations.
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 2ac8273ea475ebf169f86840587d48bf1e1b8a91..a02957c399ded94bb9a49c9dc3d8ab5d9411bbec 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-534,7
+534,7
@@
int check_ref_format(const char *ref)
level++;
if (!ch) {
if (level < 2)
- return -
1
; /* at least of form "heads/blah" */
+ return -
2
; /* at least of form "heads/blah" */
return 0;
}
}