git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e6ee623
)
Fix entry.c dependency and compile problem
author
Linus Torvalds
<redacted>
Mon, 6 Jun 2005 06:15:40 +0000
(23:15 -0700)
committer
Linus Torvalds
<redacted>
Mon, 6 Jun 2005 06:15:40 +0000
(23:15 -0700)
Bad Linus.
Makefile
patch
|
blob
|
history
entry.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d0f1cfa36cc45f8a46608ff11e4dbc14158e588e..a85abd661268cc6a99c92f6276c8d08e4a54c819 100644
(file)
--- a/
Makefile
+++ b/
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
diff --git
a/entry.c
b/entry.c
index d7824c4f6133fe288b3c1347bec266f5fc2aa4de..874516e174d0704808587689504b9ba84f2dc9af 100644
(file)
--- a/
entry.c
+++ b/
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->
updat
e) {
+ if (state->
refresh_cach
e) {
struct stat st;
lstat(ce->name, &st);
fill_stat_cache_info(ce, &st);
git clone https://git.99rst.org/PROJECT