summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-02-27 14:01:40 -0800
committerJunio C Hamano <gitster@pobox.com>2014-02-27 14:01:40 -0800
commit8336832ad99832d21e5ee588bd3d03369048c05a (patch)
tree787d8c70b31315c46780323e95c3cc713a961914 /cache.h
parent795dd116bb655f8aa8c206ecaf415527871cb7a6 (diff)
parentb4b313f94ab06fabe78fa91b3f2ebbc7ef08b012 (diff)
downloadgit-8336832ad99832d21e5ee588bd3d03369048c05a.tar.gz
Merge branch 'nd/reset-intent-to-add'
* nd/reset-intent-to-add: reset: support "--mixed --intent-to-add" mode
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 5994f7a203..9f15744218 100644
--- a/cache.h
+++ b/cache.h
@@ -487,6 +487,7 @@ extern int add_to_index(struct index_state *, const char *path, struct stat *, i
extern int add_file_to_index(struct index_state *, const char *path, int flags);
extern struct cache_entry *make_cache_entry(unsigned int mode, const unsigned char *sha1, const char *path, int stage, unsigned int refresh_options);
extern int ce_same_name(const struct cache_entry *a, const struct cache_entry *b);
+extern void set_object_name_for_intent_to_add_entry(struct cache_entry *ce);
extern int index_name_is_other(const struct index_state *, const char *, int);
extern void *read_blob_data_from_index(struct index_state *, const char *, unsigned long *);