Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/add-ignore-errors-bit-assignment-fix'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Feb 2019 06:05:30 +0000
(22:05 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Feb 2019 06:05:31 +0000
(22:05 -0800)
A hotfix to an incomplete fix made earlier.
* jk/add-ignore-errors-bit-assignment-fix:
add_to_index(): convert forgotten HASH_RENORMALIZE check
read-cache.c
patch
|
blob
|
history
raw
(from parent 1:
fe8e686
)
diff --git
a/read-cache.c
b/read-cache.c
index a66c87bc7a8346d1df529cae5154c8f35ba9d1ca..0e0c93edc9be5a7af5de1097eafe9d860e7d183e 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-744,7
+744,7
@@
int add_to_index(struct index_state *istate, const char *path, struct stat *st,
if (ignore_case) {
adjust_dirname_case(istate, ce->name);
}
- if (!(flags &
HASH
_RENORMALIZE)) {
+ if (!(flags &
ADD_CACHE
_RENORMALIZE)) {
alias = index_file_exists(istate, ce->name,
ce_namelen(ce), ignore_case);
if (alias &&