about summary refs log tree commit diff
path: root/xlocate
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-06-02 15:42:50 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-06-02 15:42:50 +0200
commit2fc240183ac779be3925b23392a81a6d1b4ed669 (patch)
tree64b9eb291f7bdea1e7d68003ee5a1d2c618f4c95 /xlocate
parentbc6a38dcbfd05fb3572429c32944643fef1ea6f4 (diff)
downloadxtools-2fc240183ac779be3925b23392a81a6d1b4ed669.tar.gz
xtools-2fc240183ac779be3925b23392a81a6d1b4ed669.tar.xz
xtools-2fc240183ac779be3925b23392a81a6d1b4ed669.zip
xlocate: override user.name and user.email
Diffstat (limited to 'xlocate')
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index 013e2ac..7e118b9 100755
--- a/xlocate
+++ b/xlocate
@@ -36,7 +36,7 @@ xupdategit() {
 		LC_ALL= xargs -d'\n' -I'{}' -n1 -P "$(nproc)" -r -- \
 			sort -o {} {}
 	git add ./*
-	git commit -q -m 'xupdategit' --author='xupdategit <xupdategit>'
+	git -c user.name=xupdategit -c user.email=xupdategit@none commit -q -m 'xupdategit'
 	git repack -ad
 	rm -rf "$XLOCATE_GIT" .git/COMMIT_EDITMSG .git/description \
 		.git/index .git/hooks .git/logs