[前][次][番号順一覧][スレッド一覧]

ruby-changes:65115

From: Nobuyoshi <ko1@a...>
Date: Tue, 2 Feb 2021 15:17:54 +0900 (JST)
Subject: [ruby-changes:65115] 5a33ef0586 (master): Set git config in global instead of system

https://git.ruby-lang.org/ruby.git/commit/?id=5a33ef0586

From 5a33ef0586efbe1d7489f4696bd22499b0f2632a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 2 Feb 2021 14:37:15 +0900
Subject: Set git config in global instead of system

---
 .github/workflows/mingw.yml   | 6 +++---
 .github/workflows/windows.yml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index bdbcf38..b4799ba 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -28,9 +28,9 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L28
         working-directory:
       - name: git config
         run: |
-          git config --system core.autocrlf false
-          git config --system core.eol lf
-          git config --system advice.detachedHead 0
+          git config --global core.autocrlf false
+          git config --global core.eol lf
+          git config --global advice.detachedHead 0
       - uses: actions/checkout@v2
         with:
           path: src
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 98e59ae..2febfb9 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -39,7 +39,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L39
           choco install --no-progress winflexbison3 --version=2.5.18.20190508
       - name: git config
         run: |
-          git config --system advice.detachedHead 0
+          git config --global advice.detachedHead 0
       - uses: actions/checkout@v2
         with:
           path: src
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]