diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-07-30 08:42:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-30 13:14:39 -0700 |
commit | 0f47f78e02d16e6edd0448285815ccc1744294e8 (patch) | |
tree | d9c1b5dba4114de511e8dd17ea8557efb97aad8d /git-rebase--interactive.sh | |
parent | mingw: define WIN32 explicitly (diff) | |
download | tgif-0f47f78e02d16e6edd0448285815ccc1744294e8.tar.xz |
vscode: only overwrite C/C++ settings
The C/C++ settings are special, as they are the only generated VS Code
configurations that *will* change over the course of Git's development,
e.g. when a new constant is defined.
Therefore, let's only update the C/C++ settings, also to prevent user
modifications from being overwritten.
Ideally, we would keep user modifications in the C/C++ settings, but
that would require parsing JSON, a task for which a Unix shell script is
distinctly unsuited. So we write out .new files instead, and warn the
user if they may want to reconcile their changes.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase--interactive.sh')
0 files changed, 0 insertions, 0 deletions