Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Submodule support #202

Open
reupen opened this issue Jul 4, 2018 · 0 comments
Open

Submodule support #202

reupen opened this issue Jul 4, 2018 · 0 comments

Comments

@reupen
Copy link

reupen commented Jul 4, 2018

Hi,

I ran GitLink 3.2.0-unstable0040 (from Chocolatey) on one of my C++ projects (which uses Git submodules):

gitlink -a .\Release\foo_ui_columns.pdb

It resulted in a lot of messages such as the following being printed:

Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\base.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\buttons.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\columns_ui.cpp".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\columns_ui.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\columns_ui_appearance.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\container_window_v2.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\helpers.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\imp_helper.h".
Found a file where we expected to find a directory: "F:\foobar2000\columns_ui\columns_ui-sdk\menu.h".

The paths are all within submodules so I assume the messages are related to that.

It would be great to add full support for submodules, though making it less worse (e.g. ignoring submodules) would still be an improvement.

Steps to reproduce

In a VS 2017 command prompt:

git clone --recursive https://github.com/reupen/columns_ui.git
cd columns_ui
msbuild /m /p:Platform=Win32 /p:Configuration=Release /t:Rebuild vc15\columns_ui-public.sln
gitlink -a .\vc15\Release\foo_ui_columns.pdb

Expected behaviour

No errors.

Actual behaviour

Errors as above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant