aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 22:07:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 22:07:31 -0700
commit220a0b527bd6ecd30a9d6dfed22195c95e6f445a (patch)
treec788895bfca71435d016d554c79b2d504b445550 /cache.h
parent12dccc165400beae564d2357ce86c71937e5cdc0 (diff)
downloadgit-220a0b527bd6ecd30a9d6dfed22195c95e6f445a.tar.gz
More work on merging with git-read-tree..
Add a "-u" flag to update the tree as a result of a merge. Right now this code is way too anal about things, and fails merges it shouldn't, but let me fix up the different cases and this will allow for much smoother merging even in the presense of dirty data in the working tree.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 7cb5b554b3..aa901d1f46 100644
--- a/cache.h
+++ b/cache.h
@@ -84,6 +84,7 @@ struct cache_entry {
#define CE_NAMEMASK (0x0fff)
#define CE_STAGEMASK (0x3000)
+#define CE_UPDATE (0x4000)
#define CE_STAGESHIFT 12
#define create_ce_flags(len, stage) htons((len) | ((stage) << CE_STAGESHIFT))