Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explorer .gitignore integration considers git repo outside of workspace folder #85434

Open
Tyriar opened this issue Nov 23, 2019 · 5 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-decorations git GIT issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Nov 23, 2019

Issue Type: Bug

I cloned xterm into vscode's node_modules and opened that folder, all files in the explorer are faded out despite being in an "inner" git repo.

Screen Shot 2019-11-22 at 7 02 43 PM

VS Code version: Code - Insiders 1.41.0-insider (599c076, 2019-11-22T07:19:06.796Z)
OS version: Darwin x64 18.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 4, 3, 2
Memory (System) 16.00GB (0.20GB free)
Process Argv -psn_0_11799360
Screen Reader no
VM 0%
Extensions (15)
Extension Author (truncated) Version
vscode-svgviewer css 2.0.0
EditorConfig Edi 0.14.2
vscode-pull-request-github-insiders Git 2019.11.2342
vscode-azureappservice ms- 0.16.1
vscode-docker ms- 0.8.2
vscode-language-pack-ja MS- 1.40.2
remote-containers ms- 0.85.0
remote-ssh-edit-nightly ms- 2019.11.21120
remote-ssh-nightly ms- 2019.11.21120
azure-account ms- 0.8.7
vscode-typescript-tslint-plugin ms- 1.2.3
debugger-for-chrome msj 4.12.1
material-icon-theme PKi 3.9.1
sort-lines Tyr 1.9.0
vscode-todo-highlight way 1.0.4

(2 theme extensions excluded)

@joaomoreno
Copy link
Member

cc @jrieken Did you hit this before?

@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug file-decorations git GIT issues labels Nov 25, 2019
@joaomoreno joaomoreno added this to the Backlog milestone Nov 25, 2019
@jrieken
Copy link
Member

jrieken commented Nov 25, 2019

🤷‍♂ the ignore-provider simply runs git check-ignore, no extra massage or anything like that

@joaomoreno
Copy link
Member

They are ignored by one repo yet not ignored by another... I guess we never did really do decoration deduplication.

@jrieken
Copy link
Member

jrieken commented Nov 25, 2019

They are ignored by one repo yet not ignored by another...

I'd say they are ignored then. I wouldn't know how to show UX for this otherwise - it would require something very SCM/git-specific that allows you to select the current repo.

@Tyriar
Copy link
Member Author

Tyriar commented Nov 25, 2019

Seems to not happen in a minimal test case? 🤔

image

That's 2 git repos with the outer one having this in .gitignore:

ignore.txt
test3

@lszomoru lszomoru self-assigned this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug file-decorations git GIT issues
Projects
None yet
Development

No branches or pull requests

5 participants