author | Junio C Hamano <junkio@cox.net> | |
Mon, 2 Apr 2007 04:34:34 +0000 (21:34 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 5 Apr 2007 22:07:16 +0000 (15:07 -0700) | ||
commit | ec0cc704692a83c1d01b53f366b9919accdd4268 | |
tree | a69158b2931bf94194abb08f171ce51fbcaaae65 | tree | snapshot |
parent | 0424138d5715dbf8605bacfbd22210aac85a1a8f | commit | diff |
Propagate cache error internal to refresh_cache() via parameter.
The function refresh_cache() is the only user of cache_errno
that switches its behaviour based on what internal function
refresh_cache_entry() finds; pass the error status back in a
parameter passed down to it, to get rid of the global variable
cache_errno.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The function refresh_cache() is the only user of cache_errno
that switches its behaviour based on what internal function
refresh_cache_entry() finds; pass the error status back in a
parameter passed down to it, to get rid of the global variable
cache_errno.
Signed-off-by: Junio C Hamano <junkio@cox.net>
read-cache.c | diff | blob | history |