Skip to content

Commit 4e7f2a7

Browse files
committed
Fix: Do not unset all git config
1 parent 011b7ed commit 4e7f2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ _cp(){ cp -af --no-preserve=ownership,mode -- "${@}"; }
8383
git(){
8484
command git config --global safe.directory "$script_path"
8585
command git "$@"
86-
command git config --global --unset safe.directory
86+
command git config --global --unset safe.directory "$script_path"
8787
}
8888

8989

0 commit comments

Comments
 (0)