Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0021: keep filter log files on comparison
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index 22ab8b5b61636cbc3bf8bcaf5a2ef964bf69c4c3..92eb15c0004d2a286281fdfb2a489aa45f446288 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-2625,3
+2625,9
@@
void stat_validity_update(struct stat_validity *sv, int fd)
fill_stat_data(sv->sd, &st);
}
}
+
+void move_index_extensions(struct index_state *dst, struct index_state *src)
+{
+ dst->untracked = src->untracked;
+ src->untracked = NULL;
+}