Skip to content

Commit 5769b84

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". - ds/path-walk-1 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". - 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 a9d8fe9 commit 5769b84

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

meson.build

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ libgit_sources = [
238238
'commit-graph.c',
239239
'commit-reach.c',
240240
'commit.c',
241+
'common-exit.c',
242+
'common-init.c',
241243
'compat/nonblock.c',
242244
'compat/obstack.c',
243245
'compat/terminal.c',
@@ -276,6 +278,7 @@ libgit_sources = [
276278
'ewah/ewah_rlw.c',
277279
'exec-cmd.c',
278280
'fetch-negotiator.c',
281+
'fetch-object-info.c',
279282
'fetch-pack.c',
280283
'fmt-merge-msg.c',
281284
'fsck.c',
@@ -350,6 +353,7 @@ libgit_sources = [
350353
'parse-options.c',
351354
'patch-delta.c',
352355
'patch-ids.c',
356+
'path-walk.c',
353357
'path.c',
354358
'pathspec.c',
355359
'pkt-line.c',
@@ -390,6 +394,7 @@ libgit_sources = [
390394
'reftable/reader.c',
391395
'reftable/record.c',
392396
'reftable/stack.c',
397+
'reftable/system.c',
393398
'reftable/tree.c',
394399
'reftable/writer.c',
395400
'remote.c',
@@ -1694,7 +1699,7 @@ foreach alias : [ 'git-receive-pack', 'git-upload-archive', 'git-upload-pack' ]
16941699

16951700
install_symlink(alias + executable_suffix,
16961701
install_dir: get_option('libexecdir') / 'git-core',
1697-
pointing_to: 'git-remote-http',
1702+
pointing_to: 'git',
16981703
)
16991704
endforeach
17001705

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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ integration_tests = [
177177
't1014-read-tree-confusing.sh',
178178
't1015-read-index-unmerged.sh',
179179
't1016-compatObjectFormat.sh',
180+
't1017-cat-file-remote-object-info.sh',
180181
't1020-subdirectory.sh',
181182
't1021-rerere-in-workdir.sh',
182183
't1022-read-tree-partial-clone.sh',
@@ -306,7 +307,6 @@ integration_tests = [
306307
't2405-worktree-submodule.sh',
307308
't2406-worktree-repair.sh',
308309
't2407-worktree-heads.sh',
309-
't2408-worktree-relative.sh',
310310
't2500-untracked-overwriting.sh',
311311
't2501-cwd-empty.sh',
312312
't3000-ls-files-others.sh',
@@ -830,6 +830,7 @@ integration_tests = [
830830
't6500-gc.sh',
831831
't6501-freshen-objects.sh',
832832
't6600-test-reach.sh',
833+
't6601-path-walk.sh',
833834
't6700-tree-depth.sh',
834835
't7001-mv.sh',
835836
't7002-mv-sparse-checkout.sh',

templates/hooks/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ foreach hook : hooks
2121
output: hook,
2222
configuration: template_config,
2323
install: true,
24-
install_dir: get_option('datadir') / 'git-core/templates',
24+
install_dir: get_option('datadir') / 'git-core/templates/hooks',
2525
)
2626
endforeach

templates/info/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ configure_file(
33
output: 'exclude',
44
configuration: template_config,
55
install: true,
6-
install_dir: get_option('datadir') / 'git-core/templates',
6+
install_dir: get_option('datadir') / 'git-core/templates/info',
77
)

0 commit comments

Comments
 (0)