summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoe Groocock2020-03-15 12:00:03 +0000
committerJoe Groocock2020-03-15 13:22:06 +0000
commit396326c8160dc708eeb95eef2b297022907b717d (patch)
treeee8fd3a5f91a5205214e8455285aa64f32a9f07b /PKGBUILD
parent636fbb1210b5071c29d36babc43ac0219aca0966 (diff)
downloadaur-396326c8160dc708eeb95eef2b297022907b717d.tar.gz
Set default git user/email
Fixes git rebase/other commands when the default user Git environment is unset
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3950162c143d..904df05dbc19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,6 +35,9 @@ pkgver() {
prepare() {
cd "${srcdir}/${_gitname}"
+ export GIT_CONFIG_NOSYSTEM=1
+ git config --local user.name makepkg
+ git config --local user.email picom@makepkg.aur
git remote add yshui https://github.com/yshui/picom.git
git fetch yshui
git rebase yshui/next