summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-02 04:34:34 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-05 22:07:16 (GMT)
commitec0cc704692a83c1d01b53f366b9919accdd4268 (patch)
treea69158b2931bf94194abb08f171ce51fbcaaae65 /run-command.c
parent0424138d5715dbf8605bacfbd22210aac85a1a8f (diff)
downloadgit-ec0cc704692a83c1d01b53f366b9919accdd4268.zip
git-ec0cc704692a83c1d01b53f366b9919accdd4268.tar.gz
git-ec0cc704692a83c1d01b53f366b9919accdd4268.tar.bz2
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>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions