mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Fix entry.c dependency and compile problem
Bad Linus.
This commit is contained in:
1
Makefile
1
Makefile
@@ -128,6 +128,7 @@ sha1_file.o: $(LIB_H)
|
||||
usage.o: $(LIB_H)
|
||||
strbuf.o: $(LIB_H)
|
||||
gitenv.o: $(LIB_H)
|
||||
entry.o: $(LIB_H)
|
||||
diff.o: $(LIB_H) diffcore.h
|
||||
diffcore-rename.o : $(LIB_H) diffcore.h
|
||||
diffcore-pathspec.o : $(LIB_H) diffcore.h
|
||||
|
||||
2
entry.c
2
entry.c
@@ -117,7 +117,7 @@ static int write_entry(struct cache_entry *ce, const char *path, struct checkout
|
||||
return error("git-checkout-cache: unknown file mode for %s", path);
|
||||
}
|
||||
|
||||
if (state->update) {
|
||||
if (state->refresh_cache) {
|
||||
struct stat st;
|
||||
lstat(ce->name, &st);
|
||||
fill_stat_cache_info(ce, &st);
|
||||
|
||||
Reference in New Issue
Block a user