mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Add default .gitconfig for Git port
This stops git from asking us to configure a username and email when we try to commit.
This commit is contained in:
parent
82696078b0
commit
e5ceec8621
Notes:
sideshowbarker
2024-07-19 02:37:52 +09:00
Author: https://github.com/itamar8910 Commit: https://github.com/SerenityOS/serenity/commit/e5ceec8621b Pull-request: https://github.com/SerenityOS/serenity/pull/3470 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/devsh0
4 changed files with 10 additions and 0 deletions
1
Ports/.gitignore
vendored
1
Ports/.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
!*/package.sh
|
||||
!*/patches
|
||||
!*/patches/*
|
||||
!*/.gitignore
|
||||
|
|
1
Ports/git/.gitignore
vendored
Normal file
1
Ports/git/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!default_gitconfig
|
3
Ports/git/default_gitconfig
Normal file
3
Ports/git/default_gitconfig
Normal file
|
@ -0,0 +1,3 @@
|
|||
[user]
|
||||
email = anon
|
||||
name = anon
|
|
@ -11,6 +11,11 @@ build() {
|
|||
run make strip
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mkdir -p "$SERENITY_ROOT"/Build/Root/home/anon
|
||||
cp "$workdir"/../default_gitconfig "$SERENITY_ROOT"/Build/Root/home/anon/.gitconfig
|
||||
}
|
||||
|
||||
export NO_OPENSSL=1
|
||||
export ac_cv_fread_reads_directories=no
|
||||
export ac_cv_snprintf_returns_bogus=no
|
||||
|
|
Loading…
Reference in a new issue