Skip to content

Commit

Permalink
Fix entry.c dependency and compile problem
Browse files Browse the repository at this point in the history
Bad Linus.
  • Loading branch information
Linus Torvalds committed Jun 6, 2005
1 parent e6ee623 commit 6ee67f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ee67f2

Please sign in to comment.