aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-09 03:25:04 +0300
committerGitHub <noreply@github.com>2022-09-09 03:25:04 +0300
commite90f4f9e0a327466254f3f1693fbe75aaa2a862f (patch)
treeb99a757737d0f913d2d91ccab839190d96b606c3 /src
parent32578d6c4d28d78e17f3943273f3445dec3b2bd9 (diff)
git : Remove misleading variables (#146)
* remove misleading ppa value * add test * nit * bump version
Diffstat (limited to 'src')
-rw-r--r--src/git/devcontainer-feature.json2
-rwxr-xr-xsrc/git/install.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/git/devcontainer-feature.json b/src/git/devcontainer-feature.json
index b1788cf..6f0e717 100644
--- a/src/git/devcontainer-feature.json
+++ b/src/git/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "git",
- "version": "1.0.2",
+ "version": "1.0.3",
"name": "Git (from source)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/git",
"description": "Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.",
diff --git a/src/git/install.sh b/src/git/install.sh
index 7e6f71a..507599e 100755
--- a/src/git/install.sh
+++ b/src/git/install.sh
@@ -7,8 +7,8 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/git-from-src.md
# Maintainer: The VS Code and Codespaces Teams
-GIT_VERSION=${VERSION:-"latest"} # 'system' checks the base image first, else installs 'latest'
-USE_PPA_IF_AVAILABLE=${PPA:-"false"}
+GIT_VERSION=${VERSION} # 'system' checks the base image first, else installs 'latest'
+USE_PPA_IF_AVAILABLE=${PPA}
GIT_CORE_PPA_ARCHIVE_GPG_KEY=E1DD270288B4E6030699E45FA1715D88E1DF1F24
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com:80