Skip to content

Commit d159778

Browse files
pks-tgitster
authored andcommitted
meson: fix conflicts with in-flight topics
As support for Meson is still in-flight we have to accommodate for conflicts with topics in "seen". The following conflicts are being addressed in this commit: - ej/cat-file-remote-object-info adds t1017 and "fetch-object-info.c". - cc/promisor-remote-capability adds t5710. - ds/path-walk adds t6601 as well as "path-walk.c" and "test-path-walk.c". - ps/reftable-detach adds "reftable/system.c". - js/libgit-rust adds "common-exit.c" and "common-init.c". - ps/clar-build-improvement adapts the awk(1) script that generates "clar.suites" to instead be a shell script. - ds/full-name-hash adds "t/helper/test-name-hash.c". - cw/worktree-extension deletes t2408. This is somewhat painful in the current state where Meson is not yet part of the main tree, but we'll have to live with that for the time being. I've split this commit out into a separate fixup-style commit such that it is possible to test this topic both with and without "seen" merged into it. You can simply revert this commit to test without "seen". Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f3d456f commit d159778

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ libgit_sources = [
220220
'commit-graph.c',
221221
'commit-reach.c',
222222
'commit.c',
223+
'common-exit.c',
224+
'common-init.c',
223225
'compat/nonblock.c',
224226
'compat/obstack.c',
225227
'compat/terminal.c',
@@ -258,6 +260,7 @@ libgit_sources = [
258260
'ewah/ewah_rlw.c',
259261
'exec-cmd.c',
260262
'fetch-negotiator.c',
263+
'fetch-object-info.c',
261264
'fetch-pack.c',
262265
'fmt-merge-msg.c',
263266
'fsck.c',
@@ -332,6 +335,7 @@ libgit_sources = [
332335
'parse-options.c',
333336
'patch-delta.c',
334337
'patch-ids.c',
338+
'path-walk.c',
335339
'path.c',
336340
'pathspec.c',
337341
'pkt-line.c',
@@ -372,6 +376,7 @@ libgit_sources = [
372376
'reftable/reader.c',
373377
'reftable/record.c',
374378
'reftable/stack.c',
379+
'reftable/system.c',
375380
'reftable/tree.c',
376381
'reftable/writer.c',
377382
'remote.c',

t/helper/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ test_tool_sources = [
3434
'test-match-trees.c',
3535
'test-mergesort.c',
3636
'test-mktemp.c',
37+
'test-name-hash.c',
3738
'test-online-cpus.c',
3839
'test-pack-mtimes.c',
3940
'test-parse-options.c',
4041
'test-parse-pathspec-file.c',
4142
'test-partial-clone.c',
4243
'test-path-utils.c',
44+
'test-path-walk.c',
4345
'test-pcre2-config.c',
4446
'test-pkt-line.c',
4547
'test-proc-receive.c',

t/meson.build

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ clar_sources += clar_decls_h
1919
clar_sources += custom_target(
2020
input: clar_decls_h,
2121
output: 'clar.suite',
22-
feed: true,
23-
capture: true,
24-
command : [awk, '-f', meson.current_source_dir() + '/unit-tests/clar-generate.awk'],
22+
command : [shell, meson.current_source_dir() + '/unit-tests/generate-clar-suites.sh', '@INPUT@', '@OUTPUT@'],
23+
env: script_environment,
2524
)
2625

2726
clar_unit_tests = executable('unit-tests',
@@ -168,6 +167,7 @@ integration_tests = [
168167
't1014-read-tree-confusing.sh',
169168
't1015-read-index-unmerged.sh',
170169
't1016-compatObjectFormat.sh',
170+
't1017-cat-file-remote-object-info.sh',
171171
't1020-subdirectory.sh',
172172
't1021-rerere-in-workdir.sh',
173173
't1022-read-tree-partial-clone.sh',
@@ -297,7 +297,6 @@ integration_tests = [
297297
't2405-worktree-submodule.sh',
298298
't2406-worktree-repair.sh',
299299
't2407-worktree-heads.sh',
300-
't2408-worktree-relative.sh',
301300
't2500-untracked-overwriting.sh',
302301
't2501-cwd-empty.sh',
303302
't3000-ls-files-others.sh',
@@ -719,6 +718,7 @@ integration_tests = [
719718
't5703-upload-pack-ref-in-want.sh',
720719
't5704-protocol-violations.sh',
721720
't5705-session-id-in-capabilities.sh',
721+
't5710-promisor-remote-capability.sh',
722722
't5730-protocol-v2-bundle-uri-file.sh',
723723
't5731-protocol-v2-bundle-uri-git.sh',
724724
't5732-protocol-v2-bundle-uri-http.sh',
@@ -821,6 +821,7 @@ integration_tests = [
821821
't6500-gc.sh',
822822
't6501-freshen-objects.sh',
823823
't6600-test-reach.sh',
824+
't6601-path-walk.sh',
824825
't6700-tree-depth.sh',
825826
't7001-mv.sh',
826827
't7002-mv-sparse-checkout.sh',

0 commit comments

Comments
 (0)