Debian Codegraph @

scripts/developer/git/setup-aliases

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 # SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors
4 #
5 # SPDX-License-Identifier: Apache-2.0
6
7 echo "Setting up git aliases..."
8 if ! which clang-format 1>/dev/null 2>&1
9 then
10 echo "Warning: ADIOS uses clang-format to enforce style guidelines but no"
11 echo " clang-format binary was found in your path"
12 fi
13
14 if ! git config alias.clang-format "!scripts/developer/git/git-clang-format"
15 then
16 echo "Waring: Error adding clang-format alias"
17 fi
18
19 exit 0