[PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

Поиск
Список
Период
Сортировка
Искать

[PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Вложения:
Hi Committers,

I'm using VS Code to work on PostgreSQL, and the .vscode folder constantly shows up in "git status". To eliminate this noise, I'd like to add the folder to .gitignore.

This patch doesn't touch any C code, thus no need to run test. It has been in my local for a while, it should be no harm.

Attached is the patch file.

Thanks a lot.
Chao Li (Evan)
=============
HighGo Inc.

Re: [PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

От:
"David G. Johnston" <david.g.johnston@gmail.com>
Дата:
On Thu, Jul 31, 2025 at 6:57 PM Chao Li <li.evan.chao@gmail.com> wrote:

I'm using VS Code to work on PostgreSQL, and the .vscode folder constantly shows up in "git status". To eliminate this noise, I'd like to add the folder to .gitignore.


The comment in the file you are proposing to edit says:

# This file contains ignores for build artifacts from standard builds.
# Auxiliary files from local workflows, your preferred editor, etc. should
# be ignored locally using $GIT_DIR/info/exclude or ~/.gitexclude.

.vscode falls into the "preferred editor" category of auxiliary files.

David J.

Re: [PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Thanks a lot for the comment, then please discard this patch.

David G. Johnston <david.g.johnston@gmail.com> 于2025年8月1日周五 10:12写道:
On Thu, Jul 31, 2025 at 6:57 PM Chao Li <li.evan.chao@gmail.com> wrote:

I'm using VS Code to work on PostgreSQL, and the .vscode folder constantly shows up in "git status". To eliminate this noise, I'd like to add the folder to .gitignore.


The comment in the file you are proposing to edit says:

# This file contains ignores for build artifacts from standard builds.
# Auxiliary files from local workflows, your preferred editor, etc. should
# be ignored locally using $GIT_DIR/info/exclude or ~/.gitexclude.

.vscode falls into the "preferred editor" category of auxiliary files.

David J.

Re: [PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

От:
"David G. Johnston" <david.g.johnston@gmail.com>
Дата:
On Thu, Jul 31, 2025 at 7:15 PM Chao Li <li.evan.chao@gmail.com> wrote:
Thanks a lot for the comment, then please discard this patch.


Also, for future reference.  Don't put version numbers into subject lines.  Threading is much nicer if subject lines don't change and most patches iterate through a number of versions before they get committed.

David J.

Re: [PATCH v1] Trivial: ignore IDE-specific files (.vscode/)

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Hi David,

I see. That was my first submission. I have a few more patches to submit, your suggestion really helps.

Chao Li (Evan)

David G. Johnston <david.g.johnston@gmail.com> 于2025年8月1日周五 10:25写道:
On Thu, Jul 31, 2025 at 7:15 PM Chao Li <li.evan.chao@gmail.com> wrote:
Thanks a lot for the comment, then please discard this patch.


Also, for future reference.  Don't put version numbers into subject lines.  Threading is much nicer if subject lines don't change and most patches iterate through a number of versions before they get committed.

David J.

FAQ