summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-25 21:13:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-25 21:13:39 (GMT)
commit21bed620cd2d4fc4fb3d42447136c9f899ede5bb (patch)
tree55fe7e104798ec1689d4e3513e81563a0188317f /read-cache.c
parentfc08d2d4add543b88d7e1573cb4be01adedfed00 (diff)
parent1335d76e4569fa84e52dc24c88c04daeae6e160e (diff)
downloadgit-21bed620cd2d4fc4fb3d42447136c9f899ede5bb.zip
git-21bed620cd2d4fc4fb3d42447136c9f899ede5bb.tar.gz
git-21bed620cd2d4fc4fb3d42447136c9f899ede5bb.tar.bz2
Merge branch 'jc/renormalize-merge-kill-safer-crlf'
"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 'read-cache.c')
-rw-r--r--read-cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/read-cache.c b/read-cache.c
index db27766..491e52d 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -19,9 +19,6 @@
#include "split-index.h"
#include "utf8.h"
-static struct cache_entry *refresh_cache_entry(struct cache_entry *ce,
- unsigned int options);
-
/* Mask for the name length in ce_flags in the on-disk index */
#define CE_NAMEMASK (0x0fff)
@@ -1257,7 +1254,7 @@ int refresh_index(struct index_state *istate, unsigned int flags,
return has_errors;
}
-static struct cache_entry *refresh_cache_entry(struct cache_entry *ce,
+struct cache_entry *refresh_cache_entry(struct cache_entry *ce,
unsigned int options)
{
return refresh_cache_ent(&the_index, ce, options, NULL, NULL);