projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.10.1
[platform/upstream/git.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index
ed35201
..
d0199ca
100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-119,8
+119,7
@@
static int add_recent_loose(const unsigned char *sha1,
*/
if (errno == ENOENT)
return 0;
- return error("unable to stat %s: %s",
- sha1_to_hex(sha1), strerror(errno));
+ return error_errno("unable to stat %s", sha1_to_hex(sha1));
}
add_recent_object(sha1, st.st_mtime, data);