git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1bbb3db
)
untracked-cache: temporarily disable with $GIT_DISABLE_UNTRACKED_CACHE
author
Nguyễn Thái Ngọc Duy
<redacted>
Sun, 8 Mar 2015 10:12:40 +0000
(17:12 +0700)
committer
Junio C Hamano
<redacted>
Thu, 12 Mar 2015 20:45:17 +0000
(13:45 -0700)
This can be used to double check if results with untracked cache are
correctly, compared to vanilla version. Untracked cache remains in
index, but not used.
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
dir.c
patch
|
blob
|
history
diff --git
a/dir.c
b/dir.c
index 592b5fa79567bac71ebd2c709f3712c817bc1417..2cf8f35cc789f241163ebb127183be172a517c7c 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-1801,7
+1801,7
@@
static struct untracked_cache_dir *validate_untracked_cache(struct dir_struct *d
struct untracked_cache_dir *root;
int i;
- if (!dir->untracked)
+ if (!dir->untracked
|| getenv("GIT_DISABLE_UNTRACKED_CACHE")
)
return NULL;
/*
git clone https://git.99rst.org/PROJECT