Microsoft/vscode

Git - Add option for git.untrackedChanges to accept current git repo setting for git's status.showUntrackedFiles

Open

#249 351 ouverte le 20 mai 2025

Voir sur GitHub
 (3 commentaires) (28 réactions) (1 assigné)TypeScript (10 221 forks)batch import
feature-requestgithelp wanted

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

Add option for VSCode's git.untrackedChanges to use current setting of git's status.showUntrackedFiles. That will make it possible to edit dotfiles git bare repository that has git's status.showUntrackedFiles=no

GIT_WORK_TREE="$HOME" GIT_DIR="$HOME/.dotfiles" code "$HOME"

Add 4th option, named "git.status.showUntrackedFiles", that will run command like git config --local status.showUntrackedFiles, if equals to yes should be same as "mixed", if no should be equivalent of "hidden":

Image


Guide contributeur