projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] git-cvsimport-script: parse multidigit revisions.
[git.git]
/
check-files.c
diff --git
a/check-files.c
b/check-files.c
index
7d16691
..
6fd69e7
100644
(file)
--- a/
check-files.c
+++ b/
check-files.c
@@
-28,10
+28,10
@@
static void check_file(const char *path)
die("preparing to update existing file '%s' not in cache", path);
ce = active_cache[pos];
die("preparing to update existing file '%s' not in cache", path);
ce = active_cache[pos];
- if (
fstat(fd
, &st) < 0)
- die("
f
stat(%s): %s", path, strerror(errno));
+ if (
lstat(path
, &st) < 0)
+ die("
l
stat(%s): %s", path, strerror(errno));
- changed = c
ach
e_match_stat(ce, &st);
+ changed = ce_match_stat(ce, &st);
if (changed)
die("preparing to update file '%s' not uptodate in cache", path);
}
if (changed)
die("preparing to update file '%s' not uptodate in cache", path);
}