Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ja/dir-rename-doc-markup-fix'
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index f9936355cda6a1515f3192151f7fc14d0c2d7522..142888a40a611370240864e2f27f097832db11e9 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-188,7
+188,7
@@
int ref_resolves_to_object(const char *refname,
{
if (flags & REF_ISBROKEN)
return 0;
- if (!has_
sha1_file(oid->hash
)) {
+ if (!has_
object_file(oid
)) {
error(_("%s does not point to a valid object!"), refname);
return 0;
}