diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 22:07:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 22:07:31 -0700 |
commit | 220a0b527bd6ecd30a9d6dfed22195c95e6f445a (patch) | |
tree | c788895bfca71435d016d554c79b2d504b445550 /cache.h | |
parent | 12dccc165400beae564d2357ce86c71937e5cdc0 (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |