Thread (24 messages) 24 messages, 4 authors, 2016-06-15

Re: [RFC/PATCH 7/8] update-index: prevent --untracked-cache from performing tests

flat view

From: Christian Couder <hidden>
Date: 2016-06-15 23:07:23

On Wed, Dec 2, 2015 at 8:18 PM, Duy Nguyen [off-list ref] wrote:
On Tue, Dec 1, 2015 at 9:31 PM, Christian Couder
[off-list ref] wrote:
 diff --git a/t/t7063-status-untracked-cache.sh
b/t/t7063-status-untracked-cache.sh
quoted
index 0e8d0d4..8c3e703 100755
--- a/t/t7063-status-untracked-cache.sh
+++ b/t/t7063-status-untracked-cache.sh
@@ -11,7 +11,7 @@ avoid_racy() {
 # It's fine if git update-index returns an error code other than one,
 # it'll be caught in the first test.
Notice this comment. You probably have to chance --test-untr.. for the
first test too if it's stilll true, or delete the comment.
Ok, I think I will remove the comment and still use "git update-index
--untracked-cache" in the first test.
quoted
 test_lazy_prereq UNTRACKED_CACHE '
-       { git update-index --untracked-cache; ret=$?; } &&
+       { git update-index --test-untracked-cache; ret=$?; } &&
        test $ret -ne 1
 '
Thanks,
Christian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help