Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2022-05-22 01:18:45 +0300
committerJunio C Hamano <gitster@pobox.com>2022-05-22 02:25:55 +0300
commit863d6ceb52d10a41b06dc3ad58fc967fc295d9b7 (patch)
treeb6caf008ef648c8ae9922314b5e64bb92c5d4294 /ci
parentf9b95943b68b6b8ca5a6072f50a08411c6449b55 (diff)
ci: fix code style
In b92cb86ea14 (travis-ci: check that all build artifacts are .gitignore-d, 2017-12-31), a function was introduced with a code style that is different from the surrounding code: it added the opening curly brace on its own line, when all the existing functions in the same file cuddle that brace on the same line as the function name. Let's make the code style consistent again. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/lib.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ci/lib.sh b/ci/lib.sh
index 86e37da9bc..d718f4e386 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -69,8 +69,7 @@ skip_good_tree () {
exit 0
}
-check_unignored_build_artifacts ()
-{
+check_unignored_build_artifacts () {
! git ls-files --other --exclude-standard --error-unmatch \
-- ':/*' 2>/dev/null ||
{