diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-05-14 18:03:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-15 16:12:43 -0700 |
commit | 5fdeacb0ca3935923ab988c81414c16080db6a32 (patch) | |
tree | 13ab5085d32769e3e56d8dbf4e5795ff0f0c7cba /cache.h | |
parent | 50fd9bd8430a957ea6c6674ce6112f375985abbc (diff) | |
download | git-5fdeacb0ca3935923ab988c81414c16080db6a32.tar.gz |
Teach update-index about --ignore-submodules
Like with the diff machinery, update-index should sometimes just
ignore submodules (e.g. to determine a clean state before a rebase).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -388,6 +388,7 @@ extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st); #define REFRESH_UNMERGED 0x0002 /* allow unmerged */ #define REFRESH_QUIET 0x0004 /* be quiet about it */ #define REFRESH_IGNORE_MISSING 0x0008 /* ignore non-existent */ +#define REFRESH_IGNORE_SUBMODULES 0x0008 /* ignore submodules */ extern int refresh_index(struct index_state *, unsigned int flags, const char **pathspec, char *seen); struct lock_file { |