#!/usr/bin/env bash

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# See revert instructions in cipd_manifest.txt

# git.exe may pass a Windows-style path in $0 (b/410753790).
MYPATH=$(dirname "${BASH_SOURCE[0]//\\//}")

source "$MYPATH/cipd_bin_setup.sh"
CIPD_ROOT=$(cipd_bin_setup) &> /dev/null

exec "$CIPD_ROOT/git-credential-luci" "$@"
