147
compare rev-parse "--exclude=refs/remotes/* --exclude=refs/tags/* --all" --branches
148
'
149
150
-test_expect_failure 'rev-parse --exclude=glob with --branches=glob' '
150
+test_expect_success 'rev-parse --exclude=glob with --branches=glob' '
151
compare rev-parse "--exclude=subspace-* --branches=sub*" "subspace/one subspace/two"
152
'
153
154
-test_expect_failure 'rev-parse --exclude=glob with --tags=glob' '
154
+test_expect_success 'rev-parse --exclude=glob with --tags=glob' '
155
compare rev-parse "--exclude=qux/? --tags=qux/*" "qux/one qux/two"
156
'
157
158
-test_expect_failure 'rev-parse --exclude=glob with --remotes=glob' '
158
+test_expect_success 'rev-parse --exclude=glob with --remotes=glob' '
159
compare rev-parse "--exclude=upstream/? --remotes=upstream/*" "upstream/one upstream/two"
160
'
161
162
-test_expect_failure 'rev-parse --exclude=ref with --branches=glob' '
162
+test_expect_success 'rev-parse --exclude=ref with --branches=glob' '
163
compare rev-parse "--exclude=subspace-x --branches=sub*" "subspace/one subspace/two"
164
'
165
166
-test_expect_failure 'rev-parse --exclude=ref with --tags=glob' '
166
+test_expect_success 'rev-parse --exclude=ref with --tags=glob' '
167
compare rev-parse "--exclude=qux/x --tags=qux/*" "qux/one qux/two"
168
'
169
170
-test_expect_failure 'rev-parse --exclude=ref with --remotes=glob' '
170
+test_expect_success 'rev-parse --exclude=ref with --remotes=glob' '
171
compare rev-parse "--exclude=upstream/x --remotes=upstream/*" "upstream/one upstream/two"
172
'
173
174
-test_expect_failure 'rev-list --exclude=glob with --branches=glob' '
174
+test_expect_success 'rev-list --exclude=glob with --branches=glob' '
175
compare rev-list "--exclude=subspace-* --branches=sub*" "subspace/one subspace/two"
176
'
177
178
-test_expect_failure 'rev-list --exclude=glob with --tags=glob' '
178
+test_expect_success 'rev-list --exclude=glob with --tags=glob' '
179
compare rev-list "--exclude=qux/? --tags=qux/*" "qux/one qux/two"
180
'
181
182
-test_expect_failure 'rev-list --exclude=glob with --remotes=glob' '
182
+test_expect_success 'rev-list --exclude=glob with --remotes=glob' '
183
compare rev-list "--exclude=upstream/? --remotes=upstream/*" "upstream/one upstream/two"
184
'
185
186
-test_expect_failure 'rev-list --exclude=ref with --branches=glob' '
186
+test_expect_success 'rev-list --exclude=ref with --branches=glob' '
187
compare rev-list "--exclude=subspace-x --branches=sub*" "subspace/one subspace/two"
188
'
189
190
-test_expect_failure 'rev-list --exclude=ref with --tags=glob' '
190
+test_expect_success 'rev-list --exclude=ref with --tags=glob' '
191
compare rev-list "--exclude=qux/x --tags=qux/*" "qux/one qux/two"
192
'
193
194
-test_expect_failure 'rev-list --exclude=ref with --remotes=glob' '
194
+test_expect_success 'rev-list --exclude=ref with --remotes=glob' '
195
compare rev-list "--exclude=upstream/x --remotes=upstream/*" "upstream/one upstream/two"
196
'
197