]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
refs.c: make resolve_ref_unsafe set errno to something meaningful on error
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 8b12aa8766b99c8f505dcc8fdc404712ac3f5b82..e7ec6267bd70ff345bbba684a2b0ab067c923de3 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -979,7 +979,7 @@ extern int read_ref(const char *refname, unsigned char *sha1);
  * NULL.  If more than MAXDEPTH recursive symbolic lookups are needed,
  * give up and return NULL.
  *
- * errno is sometimes set on errors, but not always.
+ * errno is set to something meaningful on error.
  */
 extern const char *resolve_ref_unsafe(const char *ref, unsigned char *sha1, int reading, int *flag);
 extern char *resolve_refdup(const char *ref, unsigned char *sha1, int reading, int *flag);