Debian Codegraph @

scripts/developer/git/setup-aliases

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/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 echoscip-shell system . . echo. "Setting up git aliases..."
8 if ! whichscip-shell system . . which. clang-format 1>/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
9 then
10 echoscip-shell system . . echo. "Warning: ADIOS uses clang-format to enforce style guidelines but no"
11 echoscip-shell system . . echo. " clang-format binary was found in your path"
12 fi
13
14 if ! gitscip-shell system . . git. config alias.clang-format "!scripts/developer/git/git-clang-format"
15 then
16 echoscip-shell system . . echo. "Waring: Error adding clang-format alias"
17 fi
18
19 exit 0