diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-09 06:35:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-09 06:35:52 +0200 |
commit | 7f5885ad2abfbf9b760e2f32f70537d1c380734d (patch) | |
tree | f2a636bb35db7ea784c2ae08259cfca6bfb6a1a6 /cache.h | |
parent | Merge branch 'jk/common-main' into maint (diff) | |
parent | merge: avoid "safer crlf" during recording of merge results (diff) | |
download | git-7f5885ad2abfbf9b760e2f32f70537d1c380734d.tar.xz git-7f5885ad2abfbf9b760e2f32f70537d1c380734d.zip |
Merge branch 'jc/renormalize-merge-kill-safer-crlf' into maint
"git merge" with renormalization did not work well with
merge-recursive, due to "safer crlf" conversion kicking in when it
shouldn't.
* jc/renormalize-merge-kill-safer-crlf:
merge: avoid "safer crlf" during recording of merge results
convert: unify the "auto" handling of CRLF
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -632,6 +632,7 @@ extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st); #define REFRESH_IGNORE_SUBMODULES 0x0010 /* ignore submodules */ #define REFRESH_IN_PORCELAIN 0x0020 /* user friendly output, not "needs update" */ extern int refresh_index(struct index_state *, unsigned int flags, const struct pathspec *pathspec, char *seen, const char *header_msg); +extern struct cache_entry *refresh_cache_entry(struct cache_entry *, unsigned int); extern void update_index_if_able(struct index_state *, struct lock_file *); |